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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I set syncfusion:DockingManager.TargetNameInDockedMode

Thread ID:

Created:

Updated:

Platform:

Replies:

100998 Sep 19,2011 09:35 AM UTC Sep 21,2011 05:38 PM UTC General Discussion 2
loading
Tags: General Discussion
Rama Boya
Asked On September 19, 2011 09:35 AM UTC

How can I set syncfusion:DockingManager.TargetNameInDockedMode from code behind?

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Commands="clr-namespace:Microsoft.Practices.Prism.Commands;assembly=Microsoft.Practices.Prism"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:cal="http://www.codeplex.com/CompositeWPF"
Name="Exceptions" FontFamily="Verdana"
syncfusion:DockingManager.SideInDockedMode="Tabbed"
syncfusion:DockingManager.TargetNameInDockedMode="Clocks"
syncfusion:DockingManager.State="Dock"
xmlns:local="clr-namespace:LBG.RiskSystem.Modules.Exception"
syncfusion:DockingManager.Header="Exception Module" >

.............

>

But I would like to set TargetNameInDockedMode from code behind! How do I achieve this?

Regards,
Rama



Rama Boya
Replied On September 19, 2011 10:12 AM UTC

Got it!

if (!string.IsNullOrEmpty(dockingName))
{
DockingManager.SetTargetNameInDockedMode(this, dockingName);
DockingManager.SetSideInDockedMode(this, DockSide.Tabbed);
}


Surya Narayanan G [Syncfusion]
Replied On September 21, 2011 05:38 PM UTC

Hi Rama,

Thanks for your interest in Syncfusion Products.

In DockingManager,we have static methods called SetTargetNameInDockedMode,SetSideInDockedMode,by invoking this we can set the Target Docking window and the Dockside respectively.

Please let me know in case of further assistance.

Regards
Surya Narayana


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;