Skip to main content

OptionsTableLayoutGroup.Add(ColumnDefinition) Method

Adds the specified column to a table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

public void Add(
    ColumnDefinition columnDefinition
)

Parameters

Name Type Description
columnDefinition ColumnDefinition

An object that specifies the column to be added.

Remarks

The Add method adds the specified ColumnDefinition object to the end of the layout group’s OptionsTableLayoutGroup.ColumnDefinitions collection. To append a new column with default settings to a table layout, use the OptionsTableLayoutGroup.AddColumn method.

You can also add existing columns to the ColumnDefinitions collection using the ColumnDefinitions.Add and ColumnDefinitions.AddRange methods.

See Also