Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ColumnChooserContextMenu Class / Columns Property


Columns Property (ColumnChooserContextMenu)
Gets or sets the list of columns to be used by the ColumnChooserContextMenu. The ColumnChooserContextMenu will put this list in a CollectionView which will then be assigned to its ItemsSource property.
Syntax
'Declaration
 
Public Property Columns As IEnumerable
 
'Usage
 
Dim instance As ColumnChooserContextMenu
Dim value As IEnumerable
 
instance.Columns = value
 
value = instance.Columns

Property Value

An IEnumerable containing the list of columns for the column chooser to offer.
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