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

TablePanel.GetColumn(Control) Method

If a target control lies in a Table Panel cell, this method returns the index of a column that owns this cell.

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[DefaultValue(-1)]
[DXCategory("Layout")]
public int GetColumn(
    Control control
)

Parameters

Name Type Description
control Control

The Control to check.

Returns

Type Default Description
Int32 -1

The index of a parent column.

See Also