We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Access TabControlAdv residing within DockingClientPanel

I'm trying to access the TabControlAdv control that resides within a User Control in a DockingClient Panel, so that I may iterate through the tabs to create a "collection" of tab names.  The heirarchy of the controls are as follows:
 
Main Form -> DockingManager -> DockingClientPanel -> User Control (Form) -> TabControlAdv
 
How can I access the TabControlAdv within the user control?  This is all being done in C#.  Any help would be greatly appreciated.  Thanks.

2 Replies

CS Chris Sammons July 26, 2012 11:19 PM UTC

Correction, the hieracrchy of the controls are:
 
Main Form -> DockingManager -> DockingClientPanel -> User Control (Form) -> splitContainerAdv -> TabControlAdv
 
The TabControlAdv resides in Panel 1 of the splitContainerAdv


SG Selva Ganapathy Kathiresan Syncfusion Team July 27, 2012 04:57 AM UTC

Hi Chris,

 

Thank you for your interest in Syncfusion product.

 

You can access the "TabcontrolAdv" with the user control from "Form" by declaring the "TabControlAdv" as "public" or "internal" as per the following code snippet. Also I have attached a sample that demonstrate the same.

 

[C#]

 internal Syncfusion.Windows.Forms.Tools.TabControlAdv tabControlAdv1;

 

Please let us know if you have any concerns.

 

Regards,

 

Selva Ganapathy K



TabControlAdv_fa0dcdca.zip

Loader.
Live Chat Icon For mobile
Up arrow icon