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
495
Is it possible to enable/disable all column headers from codebehind?
posted

In the Xaml I am able to achieve removing all the headers on a page with the following code:

<Grid Name="mainGrid">

<Grid.Resources>

<Style x:Key="key1" TargetType="{x:Type igWPF:PaneHeaderPresenter}">

<Setter Property="MinHeight" Value="0"/>

<Setter Property="MaxHeight" Value="0"/>

</Style>

</Grid.Resources>

 

However I would like to do it programatically from the codebehind (possibly by binding the toggle to a checkbox) to allow users to decide whether or not they can see grid headers and move contentPanes within the XamDockManager

Thanks

Parents Reply Children
No Data