Skip to main content

TablePanel.GetRow(Control) Method

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

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

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

Parameters

Name Type Description
control Control

The control to check.

Returns

Type Default Description
Int32 -1

The index of a parent row.

See Also