Skip to main content

WinExplorerView.GetColumn(WinExplorerViewFieldType) Method

Gets a column assigned to the specific field within this WinExplorerView.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public GridColumn GetColumn(
    WinExplorerViewFieldType fieldType
)

Parameters

Name Type Description
fieldType DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewFieldType

A WinExplorerViewFieldType enumerator value that specifies a field whose assigned column shall be obtained.

Returns

Type Description
GridColumn

A GridColumn assigned to the specific field within this WinExplorerView.

Remarks

Use the GetColumn method to get a column assigned to the desired WinExplorerView field. For example, the following code gets a column that serves as the Description column (see the WinExplorerViewColumns.DescriptionColumn property):

winExplorerView1.GetColumn(WinExplorerViewFieldType.Description);
See Also