Xceed DataGrid for WPF v7.2 Documentation
Headers Property (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : Headers Property
Gets a collection that contains the items that are located in the header section of the context.
Syntax
'Declaration
 
Public ReadOnly Property Headers As ObservableCollection(Of DataTemplate)
'Usage
 
Dim instance As DataGridContext

Dim value As ObservableCollection(Of DataTemplate)

 

value = instance.Headers
public ObservableCollection<DataTemplate> Headers {get;}

Property Value

An ObservableCollection of DataTemplate representing the items that are located in the header section of the context.
Remarks

The value returned by this property corresponds to the value of the Headers property of the grid (via its view) or detail configuration that was applied to the detail that is the source of the context.

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

DataGridContext Class
DataGridContext Members