Xceed DataGrid for WPF v7.2 Documentation
UseFieldNamesInHeader Property (ExporterBase)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Export Namespace > ExporterBase Class : UseFieldNamesInHeader Property
Gets or sets a boolean value indicating whether the column titles or the column field names are displayed in the headers.
Syntax
'Declaration
 
Public Property UseFieldNamesInHeader As Boolean
'Usage
 
Dim instance As ExporterBase

Dim value As Boolean

 

instance.UseFieldNamesInHeader = value

 

value = instance.UseFieldNamesInHeader
public bool UseFieldNamesInHeader {get; set;}

Property Value

true if the column field names (Column.FieldName) are displayed in the headers; false if column titles (Column.Title) are used. By default, false.
Remarks
If Column.Title is null, Column.FieldName will be used. Has an impact on GroupHeaderFormat.
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

ExporterBase Class
ExporterBase Members