Skip to main content

RepositoryItemTokenEdit.AutoHeightMode Property

Specifies how the TokenEdit adjusts its height to fit its content.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v25.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(TokenEditAutoHeightMode.Default)]
[DXCategory("Behavior")]
public TokenEditAutoHeightMode AutoHeightMode { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.TokenEditAutoHeightMode Default

Specifies the auto-hide mode.

Remarks

TokenEditAutoHeightMode.RestrictedExpand
Automatically increases the TokenEdit‘s height when its content cannot be fully displayed within the current bounds. Use the RepositoryItemTokenEdit.MaxExpandLines property to limit the editor’s height.
TokenEditAutoHeightMode.Expand / TokenEditAutoHeightMode.Default
Automatically expands the TokenEdit‘s height to fully display all tokens. The RepositoryItemTokenEdit.MaxExpandLines setting is ignored.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoHeightMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also