Windows.UI.Xaml.Controls.TextBox.MaxLength

June 22, 2022 · View on GitHub

-description

Gets or sets the value that specifies the maximum number of characters allowed for user input.

-xaml-syntax

<TextBox MaxLength="int"/>

-property-value

The maximum number of characters allowed for user input. The default is 0 (no limit).

-remarks

A MaxLength value of 0 specifies that there is no limit on the number of characters allowed for user input.

-examples

-see-also