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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docking Panel Titla

Thread ID:

Created:

Updated:

Platform:

Replies:

78484 Dec 15,2008 08:04 PM UTC Feb 2,2018 11:42 AM UTC WPF 3
loading
Tags: DockingManager
Suhail Shaikh
Asked On December 15, 2008 08:04 PM UTC

Hi

I am try to display different title in the docking panel when it is docked and when it is pinned. Essentially I want to have different Titla displayed always on the Tab and different Title on the panel itself.

By default the panel shows the it's title in collapsed mode and in open mode. Can you please advice on how to achieve this?

Thank you
Suhail



DockingPanel_886fb3e7.zip

Balavasanth [Syncfusion]
Replied On December 16, 2008 10:55 AM UTC

Hi Suhail,

Thanks for your interests in Syncfusion products.

It is possible to set the different titles by iterating the elements in the Docking Manager and by checking its state in the DockStateChanged event of the Docking Manager. For instance we have attached a simple code snippet for your reference.

private void docmanager_DockStateChanged(FrameworkElement sender, DockStateEventArgs e)
{

foreach (FrameworkElement felement in dockingManager.Children)
{
if(DockingManager.GetState(felement) == DockState.AutoHidden)
{
//try to set the title here like this
DockingManager.SetHeader(LeftPanel, "Title AutoHidden");
}
}
}

For more idea kindly make use of the sample.

http://www.syncfusion.com/support/user/uploads/simple sample1820406205.zip

Please let us know if you have any queries.

Regards,
Bala.




jm arenas
Replied On February 1, 2018 07:49 AM UTC

Hi Suhail,

Thanks for your interests in Syncfusion products.

It is possible to set the different titles by iterating the elements in the Docking Manager and by checking its state in the DockStateChanged event of the Docking Manager. For instance we have attached a simple code snippet for your reference.

private void docmanager_DockStateChanged(FrameworkElement sender, DockStateEventArgs e)
{

foreach (FrameworkElement felement in dockingManager.Children)
{
if(DockingManager.GetState(felement) == DockState.AutoHidden)
{
//try to set the title here like this
DockingManager.SetHeader(LeftPanel, "Title AutoHidden");
}
}
}

For more idea kindly make use of the sample.

http://www.syncfusion.com/support/user/uploads/simple sample1820406205.zip

Please let us know if you have any queries.

Regards,
Bala.




hi! this is just for personal use. thanks

Durga Rajan [Syncfusion]
Replied On February 2, 2018 11:42 AM UTC

Hi Suhail Shaikh,

Thanks for the update. Please let us know if you need any further assistance on this.

Regards,
Durga S.

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.

Warning Icon 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.Close Icon

;