I have a requirement that my content pane should not be movable, currently user is able to drag the control & move over the form & dock it wherever he want.
So far I have tried following options, but none of them worked.
IsFloating=False
AllowDockingFloating=False
AllowDocking=False
<ig:ContentPanex:Name="WorkspacesPane"IsFloating="False"AllowDockingFloating="False"IsMaximized="False"AllowDocking="False"Header="Workspaces"Location="Left"Height="Auto"Width="Auto"MinWidth="250"IsActivePane="True"CloseButtonVisibility="Collapsed"WindowPositionMenuVisibility="Collapsed">
Hello cfosterj,
Thank you for your post.
I have been looking into it and I have some questions regarding your scenario. Are you placing the ContentPanes inside of a DocumentContentHost or you put them in the XamDockManager.Panes?
Thank you in advance for the provided in formation. Looking forward to hearing from you.
Thanks Gergana. It's inside XamDockManager.Panes. Here is sample Xaml:
<ig:XamDockManager.Panes>
<ig:ContentPane x:Name="WorkspacesPane" IsHitTestVisible="False" AllowDocking="False" DragOver="WorkspacesPane_OnDragOver" Header="Workspaces" Location="Left" Height="Auto" Width="Auto" MinWidth="250" IsActivePane="True" CloseButtonVisibility="Collapsed" WindowPositionMenuVisibility="Collapsed">
<ContentControl prism:RegionManager.RegionName="WorkspacesRegion" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"> </ContentControl> </ig:ContentPane> </ig:XamDockManager.Panes>