Gets or sets the maximum number of characters that can be entered in the C1ComboBox text box.

Namespace:  C1.Web.UI.Controls.C1ComboBox
Assembly:  C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)

Syntax

C#
[C1CategoryAttribute("Category.Behavior")]
[JsonAttribute(true, true, )]
[LayoutAttribute(LayoutType.Behavior)]
[DefaultValueAttribute()]
public virtual int MaxLength { get; set; }
Visual Basic (Declaration)
<C1CategoryAttribute("Category.Behavior")> _
<JsonAttribute(True, True, )> _
<LayoutAttribute(LayoutType.Behavior)> _
<DefaultValueAttribute()> _
Public Overridable Property MaxLength As Integer
	Get
	Set

Examples

Copy CodeC#
<cc1:C1ComboBox ID="c1ComboBox2" runat="server" MaxLength="10"></cc1:C1ComboBox>

See Also