Skip to main content

OptionsTableLayoutGroup.AddColumn() Method

Creates a new column with default settings and adds it to the table layout.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public ColumnDefinition AddColumn()

Returns

Type Description
ColumnDefinition

An object that specifies the newly created column.

Remarks

The AddColumn method creates a new ColumnDefinition object with default settings, adds it to the end of the layout group’s OptionsTableLayoutGroup.ColumnDefinitions collection and returns the new column. To append a specific ColumnDefinition object to this collection, use the corresponding overload of the OptionsTableLayoutGroup.Add method.

You can also add manually created columns directly to the ColumnDefinitions object using its ColumnDefinitions.Add and ColumnDefinitions.AddRange methods.

See Also