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
20
Programmatically hide/show group by area and filter row
posted

I am using the NetAdvantage WPF 2009 vol 2 controls. I am looking to have two buttons outside of the grid that will toggle the visibility of the group by area and the filter row. My users don't always know where the group by area is and have requested a button that will expand it. They also want to be able to click a button to hide the filter row when they are not using it.

I expected that changing XamDataGrid.GroupByArea.IsExpanded the group by area would change visibility. I can programmatically set a boolean value to IsExpanded, but the visibility of the group by area does not change. I went through the API reference and could not find any property or method that I could use to accomplish toggling the group by area visibility.