RibbonEditBox.MaxLength Property
Definition
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 a value that indicates the maximum number of characters allowed per entry in this RibbonEditBox.
public:
property int MaxLength { int get(); void set(int value); };
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer
Property Value
An integer value that indicates the maximum number of characters allowed per entry in this RibbonEditBox. A value of 0 indicates that there is no predefined limit.
Remarks
This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.
The MaxLength property does not specify how much of the input string is displayed. To change the display limit, set the SizeString property.