Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Re: Hide the HierarchicalGroupByControl in code

  •  04-17-2008, 9:03 AM

    Re: Hide the HierarchicalGroupByControl in code

    There is 2 things that could be done.

    1) Create a style in code for the HierarchicalGroupByControl, in which you set the Visibility to Collapsed, then add the Style to the newly created DataGridControl's Resources collection ( set the key as typeof( HierarchicalGroupByControl ) ). This way, the implicit style will only affect the DataGridControl in question.

    2) Create a new View instance on which you set the UseDefaultHeadersFooters property to "False", then add a new DataTemplate in its FixedHeaders for the ColumnManagerRow. Assign the View to the DataGridControl and there will be no HierarchicalGroupByControl.


    Marc Laroche
    Software Developer
    Xceed Software Inc.


    I don’t suffer from insanity, I enjoy every minute of it. - Unknown
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.