Skip to main content
All docs
V26.1
  • 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.v26.1.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    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