Xceed DataGrid for WPF v7.2 Documentation
UseDefaultHeadersFooters Property (ViewBase)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > ViewBase Class : UseDefaultHeadersFooters Property
Gets or sets a value indicating whether the default header and footer items 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 ViewBase

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

Default items will be added before any other items that are explicitly added to the FixedHeaders, FixedFooters, Headers, or Footers sections.

Example
All examples in this topic assume that the grid is bound to the Orders table of the Northwind database, unless stated otherwise.
Example
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