ComponentOne Basic Library for UWP
Basic Library Overview / DropDown for UWP / Working with DropDown for UWP / Drop-Down Box Direction
In This Topic
    Drop-Down Box Direction
    In This Topic

    By default, when the user clicks the C1DropDown control's drop-down arrow at run-time the color picker 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 by setting the DropDownDirection property.

    You can set the DropDownDirection property to one of the following options:

     

    Event

    Description

    BelowOrAbove (default)

    Tries to open the drop-down box below the header. If it is not possible tries to open above it.

    AboveOrBelow

    Tries to open the drop-down box above the header. If it is not possible tries to open below it.

    ForceBelow

    Forces the drop-down box to open below the header.

    ForceAbove

    Forces the drop-down box to open above the header.

     For more information and an example, see Changing the Drop-Down Direction.

    See Also