xceedsoftware/wpftoolkit

Hide area with Image, header and buttons

Closed this issue · 3 comments

How to hide this all this area with Image, header and buttons?

image

I need to show only content.

Hi,

I believe you are talking about the AvalonDock control. And I believe this is for a LayoutAnchorable pane ?

Currently, it is not possible to remove the header Bar. This is helpful in order to grab the LayoutAnchorable and make it float.
If you still wish to remove the header part of a Layoutanchorable, you could create a new template for the LayoutAnchorableControl.

image

Thank you

Hi,
Yes I think about LayoutAnchorablePane and LayoutDocumentPane.

I use them in this way:

<AvalonDock:LayoutRoot>
    <AvalonDock:LayoutPanel>
        <AvalonDock:LayoutAnchorablePane x:Name="ToolsRegion" 
                                         DockMinWidth="150" 
                                         DockWidth="350">
        </AvalonDock:LayoutAnchorablePane>
        <AvalonDock:LayoutDocumentPane x:Name="MainRegion"/>
        <AvalonDock:LayoutAnchorablePane x:Name="PropertiesRegion" 
                                         DockMinWidth="150" 
                                         DockWidth="350"/>
    </AvalonDock:LayoutPanel>
</AvalonDock:LayoutRoot>

Your code remove all header ? How to do for LayoutDocumentPane ? Please can you deliver me your source code? Thanks!

Hi,

All souce code is available on Github.
Just download it and reference it in your project. You will be able to modify it.
You will find what is related to the visual of AvalonDock in file:
wpftoolkit/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/Default.xaml

Thank you