By default, when the user clicks the C1DropDown control's drop-down arrow at run-time the drop-down box will appear below the control, and if that is not possible, above the control. However, you can customize where you would like the color picker to appear. For more information about the drop-down arrow direction, see Drop-Down Box Direction.
To change the drop-down direction add DropDownDirection="ForceAbove" to the <Xaml:C1DropDown> tag so that it appears similar to the following:
In XAML
Markup |
Copy Code
|
---|---|
<Xaml:C1DropDown Height="30" Name="c1dropdown1" Width="100" DropDownDirection="ForceAbove"/> |
In Code
To change the drop-down box direction, add the following code to your project:
C# |
Copy Code
|
---|---|
c1dropdown1.DropDownDirection = DropDownDirection.ForceAbove; |