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.
Unfortunately, activation email could not send to your email. Please try again.

Setting the selected tab

Thread ID:

Created:

Updated:

Platform:

Replies:

115856 Feb 12,2014 05:28 PM Feb 18,2014 12:25 AM WPF 1
loading
Tags: DockingManager
Branden Boucher
Asked On February 12, 2014 05:28 PM

Simply put, I am trying to set the selected tab for the DockingManager after creating a new DockingManager (named newPage in my example) and adding it to the main DockingManager's (named MainDockManager in my example) children. I have tried calling
    MainDockManager.Children[MainDockManager.Children.Count - 1].Focus() 
and 
    DockingManager.SeletTab(newPage) 
and
    newPage.Focus(). 
Non of those seem too work.
How do I set the selected tab?



Berkunath A [Syncfusion]
Replied On February 18, 2014 12:25 AM

Hi Branden, 

Thank you for contacting Syncfusion support. 

We have prepared a sample that tries to meet your requirement. You can select the tab by ActivateWindow method and name of the Child should be passed as argument. 

Sample Link: DockingManagerSelectTab.zip 

In this sample we have select the newpage child by click the button. Please have a look at the sample at let us know if it helps you. 

Regards,

Berkunath A


Attachment: DockingManagerSelectTab_11a1a0.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;