Back to Devexpress

WinExplorerViewColumns.EnabledColumn Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewcolumns-909c8493.md

latest2.8 KB
Original Source

WinExplorerViewColumns.EnabledColumn Property

Gets or sets the grid column that stores boolean values. Depending on these values, corresponding WinExplorerView records will either be enabled or disabled.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
public GridColumn EnabledColumn { get; set; }
vb
<DefaultValue(Nothing)>
Public Property EnabledColumn As GridColumn

Property Value

TypeDefaultDescription
GridColumnnull

A GridColumn whose rows specify whether or not this item will be enabled.

|

Remarks

If a GridColumn assigned to the EnabledColumn property stores a false value in a specific row, the corresponding View record will be displayed as disabled. You can customize the way disabled items look by the WinExplorerViewAppearances.ItemDisabled and WinExplorerViewAppearances.ItemDescriptionDisabled properties.

The figure below illustrates two disabled WinExplorerView records compared to an enabled item. Disabled item captions are drawn with a strike-out.

See Also

ItemDisabled

ItemDescriptionDisabled

WinExplorerViewColumns Class

WinExplorerViewColumns Members

DevExpress.XtraGrid.Views.WinExplorer Namespace