Welcome to the Xceed Community | Help
Community Search  
More Search Options

Clearing a fixed header section

Sort Posts: Previous Next
  •  10-08-2008, 4:17 PM Post no. 28157

    Clearing a fixed header section

    The following example demonstrates how to clear the content of all header and footer sections of a grid using its view's UseDefaultHeadersFooters property.

    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
      <Grid.Resources>
        <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
                                        Source="{Binding Source={x:Static Application.Current}, Path=Orders}"/>
       </Grid.Resources>

       <xcdg:DataGridControl x:Name="OrdersGrid"
                             ItemsSource="{Binding Source={StaticResource cvs_orders}}">
          <xcdg:DataGridControl.View>
             <xcdg:CardView UseDefaultHeadersFooters="False"/>
           </xcdg:DataGridControl.View>
       </xcdg:DataGridControl>
    </Grid>
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.