"Activate" a newly created DocumentContent

Mar 2, 2011 at 7:29 PM


I´m trying to programatically "set focus" or "activate" or "show"

the tab containing a newly created DocumentContent embeded in a DocumentPane.

Unfortunately the property IsActiveContent of DocumentContent is read-only.

How can I do that ?

Thank you

Mar 2, 2011 at 7:34 PM

sorry .... ContentPane.SelectedIndex

Mar 2, 2011 at 7:39 PM
Edited Mar 2, 2011 at 7:39 PM

DocumentContent has an Activate method.

DocumentContent content = new DocumentContent();