This project is read-only.

"Activate" a newly created DocumentContent

Mar 2, 2011 at 8:29 PM

Hello,

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 8:34 PM

sorry .... ContentPane.SelectedIndex

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

DocumentContent has an Activate method.

DocumentContent content = new DocumentContent();
content.Activate();