Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemTokenEdit.MinRowCount Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.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