OptionsTableLayoutGroup.AutoSizeDefaultDefinitionLength Property

Gets or sets the default size for empty rows/columns of the SizeType.AutoSize type in table layout mode.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

[DefaultValue(20)]
public int AutoSizeDefaultDefinitionLength { get; set; }
<DefaultValue(20)>
Public Property AutoSizeDefaultDefinitionLength As Integer

Property Value

Type Default Description
Int32

20

A value that specifies the size for rows/columns of the AutoSize type, in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoSizeDefaultDefinitionLength
LayoutViewCard
.OptionsTableLayoutGroup.AutoSizeDefaultDefinitionLength
LayoutControlGroup
.OptionsTableLayoutGroup.AutoSizeDefaultDefinitionLength
LayoutGroup
.OptionsTableLayoutGroup.AutoSizeDefaultDefinitionLength

Remarks

In table layout mode, the RowDefinition.SizeType and ColumnDefinition.SizeType properties specify a row's height type and a column's width type, respectively. If you add a new row/column at design time or append a new row/column with the default settings in code, the SizeType property of the new row/column is automatically set to AutoSize.

If a row/column of the AutoSize type contains one or more items, its size is automatically adjusted to best fit its contents. If the auto-sized row/column doesn't display layout items, its size is specified by the AutoSizeDefaultDefinitionLength property.

The AutoSizeDefaultDefinitionLength property does not accept values less than 1.

See Also