ActivateColumn Method (IDataGridView)
Double-clicks the specified column header in this grid.

This method has multiple overloads.

ActivateColumn(Int32) Method

Double-clicks the specified column header in this grid.

C# Syntax

void ActivateColumn( 
   int column
)

Parameters

column
0-based column index.

ActivateColumn(String) Method

Double-clicks the specified column header in this grid.

C# Syntax
void ActivateColumn( 
   string columnHeader
)

Parameters

columnHeader
The column caption.