Xceed DataGrid for Silverlight Documentation
FixedHeaders Property (DataGridControl)
Example 


Gets a collection that contains the elements that are located in the fixed, non-scrollable header section of a grid.
Syntax
'Declaration
 
Public ReadOnly Property FixedHeaders As Collection(Of UIElement)
'Usage
 
Dim instance As DataGridControl
Dim value As Collection(Of UIElement)
 
value = instance.FixedHeaders
public Collection<UIElement> FixedHeaders {get;}

Property Value

A generic Collection of UIElement objects representing the elements that are located in the fixed, non-scrollable header section of a grid.

By default, a group-by control (see GroupByControl class) and a column-manager row (see ColumnManagerRow class) are located in a grid's fixed headers section, in order to remove the default headers, the UseDefaultHeaderFooters property must be set to false.

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.UseDefaultHeadersFooters Property

Header and Footer Sections

Headers and Footers

Send Feedback