-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.TextBox.MaxLength |
winrt property |
Gets or sets the value that specifies the maximum number of characters allowed for user input.
<TextBox MaxLength="int"/>
The maximum number of characters allowed for user input. The default is 0 (no limit).
A MaxLength value of 0 specifies that there is no limit on the number of characters allowed for user input.