Hi,
1) LayoutAnchorable DPs
LayoutAnchorable is not part of the VisualTree, so binding won't work on it. That is why DPs are not used on LayoutAnchorable. LayoutAnchorableControl is the view control, whereas LayoutAnchorable is the model element.
You could handle the event DockingManager.SizeChanged and adjust the LayoutAnchorable.AutoHideWidth to DockingManager.ActualWidth, something like :
Can you give a snippet of your situation?
Thanks.
1) LayoutAnchorable DPs
LayoutAnchorable is not part of the VisualTree, so binding won't work on it. That is why DPs are not used on LayoutAnchorable. LayoutAnchorableControl is the view control, whereas LayoutAnchorable is the model element.
You could handle the event DockingManager.SizeChanged and adjust the LayoutAnchorable.AutoHideWidth to DockingManager.ActualWidth, something like :
private void DockingManager_SizeChanged( object sender, SizeChangedEventArgs e )
{
var dm = sender as DockingManager;
if( dm != null)
{
_layoutAnchorable.AutoHideWidth = dm.ActualWidth;
}
}
2) TABs somewhere other than the top of the applicationCan you give a snippet of your situation?
Thanks.