Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
How to Hide close button and enable Autohide button in XamDocManager
posted

How can I hide the close button and enable the Autohide button in XamDocManager panes.

Below is my code

<idm:XamDockManager x:Name="Dock">
<idm:DocumentContentHost>
<idx:ContentPaneFactory.PaneFactory>
<idx:ContentPaneFactory
RemoveItemOnClose="False"
ItemsSource="{Binding ItemsSource,RelativeSource={RelativeSource TemplatedParent},Converter={x:Static rtc:DummyConverter.Default},ConverterParameter={}ContentPaneFactory ItemsSource}"
HeaderPath="Header"
ContentPath="."
>
</idx:ContentPaneFactory>
</idx:ContentPaneFactory.PaneFactory>
</idm:DocumentContentHost>
</idm:XamDockManager>