Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsTableLayoutGroup.AddColumn() Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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