InputView.MaxLength Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum allowed length of input.
public:
property int MaxLength { int get(); void set(int value); };
C#
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer
An integer in the interval [0,int.MaxValue
]. The default value is Int.MaxValue
.
Продукт | Версии |
---|---|
.NET MAUI | 8, 9 |
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Отзыв о .NET MAUI
.NET MAUI — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: