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
245
How to hide/disable the close functionality of different panes added within ContentPaneFactory within xamdocmanager
posted

I have looked into below article , there is a zip code attached within same.

www.infragistics.com/.../itemssource-for-xamdockmanager-elements

I want the close button to be disabled or removed

Also, when we right click on pane header it shows option for 'close', I want this to be disabled/removed.

Please refer to below code within article sample attached within which I need above metioned funtionality

<igDock:DocumentContentHost
igExtensions:ContentPaneFactory.InitializeContentPane="DocumentContentHost_InitializeContentPane">
<igExtensions:ContentPaneFactory.PaneFactory>
<!-- Binds to the Documents property of the DataContext. The Content
property of the generated ContentPane will be bound to the
dataitem itself. In this case there is a DataTemplate defined for
Person above. -->
<igExtensions:ContentPaneFactory
ItemsSource="{Binding Documents}"
HeaderPath="Name"
ContentPath="." />
</igExtensions:ContentPaneFactory.PaneFactory>
</igDock:DocumentContentHost>