All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TableRowDefinition.AutoHeight Property

Gets or sets whether the row automatically adjusts its height to display its content in its entirety. This property is in effect for the TileView in Kanban layout mode.

Namespace: DevExpress.XtraEditors.TableLayout

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Layout")]
public bool AutoHeight { get; set; }
<DefaultValue(False)>
<DXCategory("Layout")>
Public Property AutoHeight As Boolean

Property Value

Type Default Description
Boolean

false

true, if the row automatically adjusts its height to fit its contents; otherwise, false.

Remarks

This property is in effect for the Data Grid's TileView in Kanban layout mode.

Use the AutoHeight property to enable auto-height mode for rows that display long text or large images in their cells.

In this mode, different rows can have different heights.

For tile elements that display text, you can limit the displayed text lines with the TileViewItemElement.MaxLineCount property.

For tile elements that display images, use the TileItemElement.ImageOptions.ImageScaleMode property to specify how the image fits its cell (the TileItemImageScaleMode enumeration topic covers available image scale modes).

See Also