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

TablePanel.Rows Property

Provides access to this panel’s row collection.

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[DXCategory("Layout")]
public TablePanelRowCollection Rows { get; }

Property Value

Type Description
DevExpress.Utils.Layout.TablePanelRowCollection

A collection of the Table Panel rows.

Remarks

The following sample illustrates how to fill the Rows collection in code.

tablePanel2.Rows.AddRange(new DevExpress.Utils.Layout.TablePanelRow[] {
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F),
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F),
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F),
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F),
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F),
    new DevExpress.Utils.Layout.TablePanelRow(DevExpress.Utils.Layout.TablePanelEntityStyle.AutoSize, 1F)
});
See Also