All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
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.

SimpleLabelAutoSizeMode Enum

Enumerates values that specify whether a SimpleLabelItem‘s maximum width, height, or both are calculated automatically based on the item’s content.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v21.2.dll

Declaration

public enum SimpleLabelAutoSizeMode

Members

Name Description
Default

The mode is not specified explicitly. Enables the Vertical mode.

None

The item’s maximum width and height are not calculated automatically based on the item’s content. The maximum width and height are not limited.

Horizontal

The item’s maximum width is calculated automatically based on the item’s content.

Vertical

The item’s maximum height is calculated automatically based on the item’s content.

Both

The item’s maximum width and height are calculated automatically based on the item’s content.

Related API Members

The following properties accept/return SimpleLabelAutoSizeMode values:

See Also