Back to Devexpress

OptionsTableLayoutGroup.AddColumn() Method

windowsforms-devexpress-dot-xtralayout-dot-optionstablelayoutgroup-bf177675.md

latest2.5 KB
Original Source

OptionsTableLayoutGroup.AddColumn() Method

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public ColumnDefinition AddColumn()
vb
Public Function AddColumn As ColumnDefinition

Returns

TypeDescription
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

Add

Add(ColumnDefinition)

AddRange(ColumnDefinition[])

OptionsTableLayoutGroup Class

OptionsTableLayoutGroup Members

DevExpress.XtraLayout Namespace