Skip to main content

MaxLength Property

Gets or sets the maximum number of characters that the AutoCompleteBox can accept. This constraint only applies for manually entered (user-inputted) text.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public int MaxLength { get; set; }

Property Value​

Int32

See Also​

Reference​

AutoCompleteBox Class
Avalonia.Controls Namespace