Back to Devexpress

SimpleLabelAutoSizeMode Enum

windowsforms-devexpress-dot-xtralayout-dbcb2d4a.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum SimpleLabelAutoSizeMode
vb
Public Enum SimpleLabelAutoSizeMode

Members

NameDescription
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.

|

The following properties accept/return SimpleLabelAutoSizeMode values:

See Also

DevExpress.XtraLayout Namespace