Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumn.IsVisible Property

Gets or sets whether the column is visible in the grid. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public bool IsVisible { get; set; }

#Property Value

Type Description
Boolean

true if the column is visible; otherwise, false.

#Remarks

Use the IsVisible property to show or hide columns in the grid. To get the list of columns the grid currently displays, use the DataGridView.VisibleColumns property.

If you group data by a column (set its GridColumn.IsGrouped property to true), the grid does not display this column as a regular one but shows its header and values in group rows. In this case, the IsVisible property remains set to true, however, the column is not included in the DataGridView.VisibleColumns collection. You can use the DataGridView.ShowGroupedColumns property to show a column used to group grid data like a regular one.

See Also