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

New Post: Avalon dock: setting size of panes to just fit contents after redocking or when switching from dock to float

$
0
0
Hi,

Thanks for the great explanations !
  1. Dock via top-central drop target icons + float + dock via top drop target icon => wrong size
    Issue https://wpftoolkit.codeplex.com/workitem/22467 has been created.
  2. Split in 2 when dragging
    While dragging a FloatingWindow over the drop target center icons, the default behavior is to split the space in 2 to show where the FloatingWindow would appear. The Floating window size is not taken into account at this stage.
  3. Suppress all of the drop target centre icons
    You can do this this way :
    Go in file "Xceed.Wpf.AvalonDock/DockingManager.cs"
    In method "GetDropAreas", comments all the "foreach". They are adding the drop target center icons.
    This will leave you with only one addition to "_areas", the "DropAreaType.DockingManager", which will add the Top/Bottom/Left/Right drop target icons.
――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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