Skip to main content
A newer version of this page is available. .

GridContext.GetDashboardItemColumn(GridDashboardItem, GridColumn) Method

Returns the GridColumnBase descendant that corresponds to the specified control’s column.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v21.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public GridColumnBase GetDashboardItemColumn(
    GridDashboardItem dashboardItem,
    GridColumn column
)

Parameters

Name Type Description
dashboardItem GridDashboardItem

A Grid dashboard item for which you get the grid context.

column GridColumn

A GridColumn object that is a control’s column.

Returns

Type Description
GridColumnBase

A GridColumnBase descendant that corresponds to the specified parameters.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetDashboardItemColumn(GridDashboardItem, GridColumn) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also