Skip to main content

RepositoryItemTokenEdit.MinRowCount Property

Gets or sets the initial number of rows displayed by this TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(1)]
[DXCategory("Behavior")]
public int MinRowCount { get; set; }

Property Value

Type Default Description
Int32 1

An Int32 value that is the initial number of rows displayed by this TokenEdit.

Remarks

Use the MinRowCount property to set the initial height of the editor. This height is measured in the number of token rows an editor can initially display and calculated according to the current font settings. If more tokens are added, the editor can occupy more rows until it reaches the number specified by the RepositoryItemTokenEdit.MaxExpandLines property. Note that this limitation is only in effect when the RepositoryItemTokenEdit.AutoHeightMode property equals RestrictedExpand. Otherwise, the editor can expand endlessly.

See Also