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
190
Remove Child Bands
posted

Hi,

this should be easy, but as most IG stuff, it is not...

I have a Collection of Parent/Child items. Using a XamGrid I want to display only the parnts (hide Child Bands).

Where is that property hidden?...

Parents
No Data
Reply
  • 17475
    Offline posted

    Hello Konstantin,

    Columnlayouts have a Visibility property that could be set to Collapsed if the band should not be visible:
    grid1.ColumnLayouts[1].Visibility = Visibility.Collapsed;
    The AutoGenerateColumns property could also be set to false and the column layouts could be defined manually to display only the columns that should be visible.

Children