Back to Devexpress

RepositoryItemTokenEdit.MinRowCount Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-88a1ae2c.md

latest2.2 KB
Original Source

RepositoryItemTokenEdit.MinRowCount Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(1)]
[DXCategory("Behavior")]
public int MinRowCount { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(1)>
Public Property MinRowCount As Integer

Property Value

TypeDefaultDescription
Int321

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

MaxExpandLines

RepositoryItemTokenEdit Class

RepositoryItemTokenEdit Members

DevExpress.XtraEditors.Repository Namespace