Following is the layout of my main view :
<telerik:RadDocking Height="500" AllowUnsafeMode="True" x:Name="rootDocking" HasDocumentHost="False">
<telerik:RadSplitContainer telerik:AnimationManager.IsAnimationEnabled="False"
telerik:AnimationManager.AnimationSelector="{x:Null}"
x:Name="splitContainer"
InitialPosition="DockedLeft"
Orientation="Horizontal">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="25,200">
<telerik:RadPane ContextMenuTemplate="{x:Null}"
IsPinned="{Binding IsNavigationPinned, Mode=TwoWay}"
CanUserClose="False" CanFloat="False"
CanUserPin="True" Header="Left Docking Pane">
<TextBlock Text="Navigation" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane ContextMenuTemplate="{x:Null}" x:Name="Right Docking Pane" PaneHeaderVisibility="Collapsed" CanUserClose="False" CanFloat="False" CanUserPin="False">
<Grid x:Name="LayoutRoot1" Background="White">
<telerik:RadDocking x:Name="rootDocking1" AllowUnsafeMode="True"
telerik:AnimationManager.IsAnimationEnabled="False"
telerik:AnimationManager.AnimationSelector="{x:Null}"
HasDocumentHost="False">
<telerik:RadSplitContainer x:Name="splitContainer1"
InitialPosition="DockedRight">
<telerik:RadPaneGroup>
<telerik:RadPane Header="Main Pane" Padding="0" ContextMenuTemplate="{x:Null}" CanUserClose="False" CanFloat="False" CanUserPin="False">
<TextBlock Text="Result" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Item Preview"
IsPinned="{Binding IsNavigationPinned1,Mode=TwoWay}"
CanUserClose="False"
CanFloat="False" CanUserPin="True">
<TextBlock Text="Preview"/>
<telerik:RadPane.ContextMenuTemplate>
<DataTemplate>
<telerik:RadContextMenu>
<telerik:RadMenuItem Header="Horizontal">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Vertical">
</telerik:RadMenuItem>
</telerik:RadContextMenu>
</DataTemplate>
</telerik:RadPane.ContextMenuTemplate>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</Grid>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
I am binding the IsPinned property for both the splitContainer and splitContainer1. The strange thing is that IsPinned twoway binding is working with the first radPane under splitContainer, but it is not working in the radPane under splitContainer1. Can you please let me know what is the problem here.
<telerik:RadDocking Height="500" AllowUnsafeMode="True" x:Name="rootDocking" HasDocumentHost="False">
<telerik:RadSplitContainer telerik:AnimationManager.IsAnimationEnabled="False"
telerik:AnimationManager.AnimationSelector="{x:Null}"
x:Name="splitContainer"
InitialPosition="DockedLeft"
Orientation="Horizontal">
<telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="25,200">
<telerik:RadPane ContextMenuTemplate="{x:Null}"
IsPinned="{Binding IsNavigationPinned, Mode=TwoWay}"
CanUserClose="False" CanFloat="False"
CanUserPin="True" Header="Left Docking Pane">
<TextBlock Text="Navigation" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane ContextMenuTemplate="{x:Null}" x:Name="Right Docking Pane" PaneHeaderVisibility="Collapsed" CanUserClose="False" CanFloat="False" CanUserPin="False">
<Grid x:Name="LayoutRoot1" Background="White">
<telerik:RadDocking x:Name="rootDocking1" AllowUnsafeMode="True"
telerik:AnimationManager.IsAnimationEnabled="False"
telerik:AnimationManager.AnimationSelector="{x:Null}"
HasDocumentHost="False">
<telerik:RadSplitContainer x:Name="splitContainer1"
InitialPosition="DockedRight">
<telerik:RadPaneGroup>
<telerik:RadPane Header="Main Pane" Padding="0" ContextMenuTemplate="{x:Null}" CanUserClose="False" CanFloat="False" CanUserPin="False">
<TextBlock Text="Result" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Item Preview"
IsPinned="{Binding IsNavigationPinned1,Mode=TwoWay}"
CanUserClose="False"
CanFloat="False" CanUserPin="True">
<TextBlock Text="Preview"/>
<telerik:RadPane.ContextMenuTemplate>
<DataTemplate>
<telerik:RadContextMenu>
<telerik:RadMenuItem Header="Horizontal">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Vertical">
</telerik:RadMenuItem>
</telerik:RadContextMenu>
</DataTemplate>
</telerik:RadPane.ContextMenuTemplate>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</Grid>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
I am binding the IsPinned property for both the splitContainer and splitContainer1. The strange thing is that IsPinned twoway binding is working with the first radPane under splitContainer, but it is not working in the radPane under splitContainer1. Can you please let me know what is the problem here.