Skip to content

TextBase.MaxLength property

Gets or sets the maximum text length in UTF-16 code units. 0 means unlimited.

public int MaxLength { get; set; }

Fluent: .MaxLength(Int32)