How can I set syncfusion:DockingManager.TargetNameInDockedMode

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



2 Replies

RB Rama Boya September 19, 2011 10:12 AM UTC

Got it!

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



SN Surya Narayanan G Syncfusion Team 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


Loader.
Up arrow icon