Xceed DataGrid for WPF v7.2 Documentation
AddDefaultHeadersFooters Method (ViewBase)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > ViewBase Class : AddDefaultHeadersFooters Method
The number of merged column headers present in the DataGrid.
Adds the default items to the header, footer, fixed headers, and fixed footer sections of a grid.
Syntax
'Declaration
 
Protected Overridable Sub AddDefaultHeadersFooters( _

   ByVal mergedHeadersCount As Integer _

) 
'Usage
 
Dim instance As ViewBase

Dim mergedHeadersCount As Integer

 

instance.AddDefaultHeadersFooters(mergedHeadersCount)
protected virtual void AddDefaultHeadersFooters( 

   int mergedHeadersCount

)

Parameters

mergedHeadersCount
The number of merged column headers present in the DataGrid.
Remarks

By default, a grid contains a GroupByControl and a ColumnManagerRow in its FixedHeaders that are added before any other elements that are explicitly added to the section.

Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ViewBase Class
ViewBase Members