dashboard-devexpress-dot-dashboardwin-dot-gridcontext-dot-getcontrolcolumn-x28-devexpress-dot-dashboardcommon-dot-gridcolumnbase-x29.md
Returns a GridColumn object that corresponds to the specified GridColumnBase descendant (a data item container from the Columns section).
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public GridColumn GetControlColumn(
GridColumnBase column
)
Public Function GetControlColumn(
column As GridColumnBase
) As GridColumn
| Name | Type | Description |
|---|---|---|
| column | GridColumnBase |
A GridColumnBase descendant for which the corresponding control’s column is returned.
|
| Type | Description |
|---|---|
| GridColumn |
A GridColumn object that corresponds to the specified dashboard item’s column.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetControlColumn(GridColumnBase) 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.
if(!string.IsNullOrEmpty(customProperty)) {
GridColumn gridColumn = e.GridContext.GetControlColumn(itemColumn);
if(gridColumn != null) {
If Not String.IsNullOrEmpty(customProperty) Then
Dim gridColumn As GridColumn = e.GridContext.GetControlColumn(itemColumn)
If gridColumn IsNot Nothing Then
See Also