Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

New Post: Moving docked pane when resizing adjecent pane

$
0
0
I have 2 LayoutAnchorablePane docked to the left side of the screen. What i want is when I resize the left most Pane (Explorer) the adjacent pane (Action Bar) remains docked to the Explorer but is moved. Currently the Action Bar is resized.
<avalonDock:LayoutAnchorablePane Name="Explorer" DockWidth="150" >
    <avalonDock:LayoutAnchorable ContentId="Explorer" CanClose="False" CanHide="False">
        <avalonDock:LayoutAnchorable.Title>Explorer</avalonDock:LayoutAnchorable.Title>
        <avalonDock:LayoutAnchorable.Content>Some Content</avalonDock:LayoutAnchorable.Content>
    </avalonDock:LayoutAnchorable>
</avalonDock:LayoutAnchorablePane>

<avalonDock:LayoutAnchorablePane Name="ActionBar" DockWidth="70" >
    <avalonDock:LayoutAnchorable ContentId="ActionBar" CanFloat="True" CanAutoHide="True" CanClose="False" CanHide="False"  >
        <avalonDock:LayoutAnchorable.Title>Action Toolbar</avalonDock:LayoutAnchorable.Title>
        <ContentControl Background="Black">Some Content</ContentControl>
    </avalonDock:LayoutAnchorable>  
</avalonDock:LayoutAnchorablePane>

Viewing all articles
Browse latest Browse all 2690

Trending Articles