By default, when you add the C1DropDown control to an application, the drop-down arrow, the ToggleButton, is visible. However, if you choose you can hide the drop-down arrow by setting the ShowButton property as in the following steps.
In XAML
To hide the drop-down arrow, add ShowButton="False" to the <Xaml:C1DropDown> tag so that it appears similar to the following:
| Markup |
Copy Code
|
|---|---|
<XamlC1DropDown Height="30" Name="c1dropdown1" Width="100" ShowButton="False" /> |
|
In Code
To hide the drop-down arrow, add the following code to your project:
| C# |
Copy Code
|
|---|---|
c1dropdown1.ShowButton = false;
|
|