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
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

 

 

(also, I posted the same question here: http://es.infragistics.com/community/forums/p/90496/447231.aspx#447231 without realizing that this section was a better place for it.  Please feel free to lock/remove that one, thanks).