GridView.MakeColumnVisible(GridColumn) Method

Makes the specified column visible on screen.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll


public virtual void MakeColumnVisible(
    GridColumn column
Public Overridable Sub MakeColumnVisible(
    column As GridColumn


Name Type Description
column GridColumn

A GridColumn object (or descendant) representing the column that should be made visible.


The MakeColumnVisible method does nothing in the following cases:

In other cases, the method scrolls the View the minimum amount required to make the column completely visible on screen.

Note: when assigning a column to the ColumnView.FocusedColumn property, the specified column is automatically made visible using the MakeColumnVisible method. Thus, if you need to make a column visible and focus it, simply assign the desired column to the ColumnView.FocusedColumn property. The MakeColumnVisible method should be used when you don't need to move focus to the target column.


Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the MakeColumnVisible member must not be invoked for these Views. The MakeColumnVisible member can only be used with real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also