Skip to main content
All docs
V24.2

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

TablePanel.AutoSizeDefaultTableElementLength Property

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

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[DefaultValue(20)]
[DXCategory("Layout")]
public int AutoSizeDefaultTableElementLength { get; set; }

#Property Value

Type Default Description
Int32 20

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:

TablePanel - AutoSizeDefaultTableElementLength

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

See Also