Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : DefaultHeadersFooters Property |
'Declaration Public Property DefaultHeadersFooters As HeaderFooterTypes
'Usage Dim instance As DataGridControl Dim value As HeaderFooterTypes instance.DefaultHeadersFooters = value value = instance.DefaultHeadersFooters
public HeaderFooterTypes DefaultHeadersFooters {get; set;}
Regardless of how the values are specified, the elements will be added in the following order:
The NotificationControl will always be added to the footer section.
When the UseDefaultHeadersFooters property is set to false, all default items contained in the header and footer sections will be removed. This includes the ColumnManagerRow, whose cells are used as column headers (see ColumnManagerCell class) and through which the items in a grid can be sorted, reordered, grouped, etc.
Elements that are explicitly defined in the FixedHeaders or FixedFooters section of a grid will be added after the default headers and footers.
<sldg:DataGridControl x:Name="sldgDataGridControl" ItemsSource="{Binding Path=Orders}" DefaultHeadersFooters="ColumnManagerRow, InsertionRow, NotificationControl"/>
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family