Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Simple layout

$
0
0
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 :
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 application
Can you give a snippet of your situation?
Thanks.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>