Gets or sets the drop-down list width (in pixels).
If the value is less than zero, the width of the C1ComboBox will be used.
Namespace:
C1.Web.UI.Controls.C1ComboBoxAssembly: C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)
Syntax
C# |
---|
[C1CategoryAttribute("Category.Layout")] [LayoutAttribute(LayoutType.Sizes)] [BindableAttribute(true)] [DefaultValueAttribute()] [JsonAttribute(true, true, )] public int DropDownWidth { get; set; } |
Visual Basic (Declaration) |
---|
<C1CategoryAttribute("Category.Layout")> _ <LayoutAttribute(LayoutType.Sizes)> _ <BindableAttribute(True)> _ <DefaultValueAttribute()> _ <JsonAttribute(True, True, )> _ Public Property DropDownWidth As Integer Get Set |
Examples
Copy CodeC#
<cc1:C1ComboBox ID="c1ComboBox2" runat="server" DropDownWidth="200"></cc1:C1ComboBox> |