Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : FixedHeaders Property |
'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;}
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.
<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>
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family
DataGridControl Class
DataGridControl Members
DataGridControl.UseDefaultHeadersFooters Property