Xceed DataGrid for Silverlight Documentation
DefaultHeadersFooters Property
Example 


Get or sets a value representing the elements that are displayed, by default, in the header and footer sections of a grid. 
Syntax
'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;}

Property Value

A combination of HeaderFooterTypes value(s) representing the elements that are displayed, by default, in the header and footer sections of a grid. By default, GroupByControl and ColumnManagerRow.
Remarks

Regardless of how the values are specified, the elements will be added in the following order:

  1. GroupByControl
  2. ColumnManagerRow
  3. FilterRow
  4. InsertionRow

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.

Example
<sldg:DataGridControl x:Name="sldgDataGridControl"
                      ItemsSource="{Binding Path=Orders}"
                      DefaultHeadersFooters="ColumnManagerRow, InsertionRow, NotificationControl"/>
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridControl Class
DataGridControl Members
Headers and Footers

Send Feedback