Making the C1ComboBox Drop-Down List Resizable
You can allow users to resize the C1ComboBox drop-down list by setting the DropDownResizable property to True.
Setting the DropDownResizable property in Design View
1. Right-click the C1ComboBox control and select Properties from the context menu.
2. In the Visual Studio Properties window, click the drop-down arrow next to the DropDownResizable property and select True.
Setting the DropDownResizable property programmatically
Add the following code to your form:
' add the Imports statement at the top of the form
Imports C1.Web.UI.Controls.C1ComboBox;
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
C1ComboBox1.DropDownResizable = True
End Sub
• C#
// add the using statement at the top of the form
using C1.Web.UI.Controls.C1ComboBox;
Protected void Page_Load(object sender, EventArgs e)
{
C1ComboBox1.DropDownResizable = true;
}
At run time, users can resize the list by dragging the lower right corner.
|