Version

ColumnChooserEnabled Property

This specifies that the column chooser user interface is enabled for this UltraGrid. The UltraGrid uses this as a hint to let the user hide columns by dragging and dropping them outside of the UltraGrid and also unhide an explicitly hidden group-by column by dragging and dropping it over the column headers.
Syntax
'Declaration
 
Public Property ColumnChooserEnabled As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean ColumnChooserEnabled {get; set;}
Remarks

This specifies that the column chooser user interface is enabled for this UltraGrid. The UltraGrid uses this as a hint to let the user hide columns by dragging and dropping them outside of the UltraGrid and also unhide an explicitly hidden group-by column by dragging and dropping it over the column headers.

The UltraGrid supports a built in user interface element that the user can use to display the column chooser dialog from whithin the UltraGrid. You can enable this ui element by setting the UltraGridOverride.RowSelectorHeaderStyle to ColumnChooserButton. You can also externally display column chooser dialog by using the UltraGridBase.ShowColumnChooser method or instantiating a ColumnChooserDialog form and displaying it.

You can also create custom column chooser dialog using the UltraGridColumnChooser. To do so create a form and put a UltraGridColumnChooser onto it along with any other custom user interface elements.

This property is resolved to True if the UltraGrid determines that a column chooser user interface is enabled. Column chooser is considered to be enabled if the UltraGridOverride.RowSelectorHeaderStyle is set to ColumnChooserButton or a column chooser dialog has been displayed at least once. If neither of these conditions are met then this property is resolved to False. When it's resolved to False the user can not hide a column by dragging and dropping it outside of the UltraGrid. Also the user can not unhide a hidden column (a column whose Hidden property has been explicitly set to True.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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