Xceed Toolkit Plus for WPF v4.6 Documentation
Columns Property (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : Columns Property
Gets a list of the columns contained in the context.
Syntax
'Declaration
 
Public ReadOnly Property Columns As ColumnCollection
'Usage
 
Dim instance As DataGridContext
Dim value As ColumnCollection
 
value = instance.Columns
public ColumnCollection Columns {get;}

Property Value

A reference to a ColumnCollection containing a list of the columns contained in the context.

Remarks

All columns, regardless of their state, will be contained in the collection. To retrieve only the columns that are visible, consult the VisibleColumns property.

The value returned by this property corresponds to the value of the Columns property of the grid 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