Back to Devexpress

TablePanel.AutoSizeDefaultTableElementLength Property

windowsforms-devexpress-dot-utils-dot-layout-dot-tablepanel.md

latest2.2 KB
Original Source

TablePanel.AutoSizeDefaultTableElementLength Property

Gets or sets the size of empty rows/columns of the AutoSize type.

Namespace : DevExpress.Utils.Layout

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(20)]
[DXCategory("Layout")]
public int AutoSizeDefaultTableElementLength { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(20)>
Public Property AutoSizeDefaultTableElementLength As Integer

Property Value

TypeDefaultDescription
Int3220

The size for empty rows/columns of the AutoSize type, in pixels.

|

Remarks

The TablePanelEntity.Style property specifies the row/column size type.

If a row/column of the AutoSize type contains an item, the TablePanel adjusts the element size to best fit its content. If the auto-sized row/column does not display any items, the AutoSizeDefaultDefinitionLength property specifies its size:

Refer to the following help topic for more information: Columns and Rows.

See Also

Style

TablePanel Class

TablePanel Members

DevExpress.Utils.Layout Namespace