Xceed DataGrid for Silverlight Documentation
UseDefaultHeadersFooters Property
Example 


Gets or sets a value indicating whether the default header and footer elements are automatically added to a grid's fixed, and non-fixed, header and footer sections.
Syntax
'Declaration
 
Public Property UseDefaultHeadersFooters As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.UseDefaultHeadersFooters = value
 
value = instance.UseDefaultHeadersFooters
public bool UseDefaultHeadersFooters {get; set;}

Property Value

true if the default headers and footers are automatically added to the grid's fixed, and non-fixed, header and footer sections; false otherwise.
Remarks
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.
Example
<sldg:DataGridControl x:Name="sldgDataGridControl"
                      ItemsSource="{Binding Path=Orders}"
                      UseDefaultHeadersFooters="False">
   <sldg:DataGridControl.FixedHeaders>
       <sldg:GroupByControl/>
       <sldg:ColumnManagerRow />
   </sldg:DataGridControl.FixedHeaders>

   <sldg:DataGridControl.FixedFooters>
       <Button Content="Hello World"/>
   </sldg:DataGridControl.FixedFooters>
</sldg:DataGridControl>
Requirements

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

See Also

Reference

DataGridControl Class
DataGridControl Members
DataGridControl.FixedFooters Property
DataGridControl.FixedHeaders Property
DataGridControl.DefaultHeaderFooters Property

Header and Footer Sections

Headers and Footers

Send Feedback