Extended Library for WPF and Silverlight | ComponentOne
ColorPicker / ColorPicker Features / Drop-Down Direction
In This Topic
    Drop-Down Direction
    In This Topic

    By default, when the user clicks the C1ColorPicker 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 C1ColorPicker.DropDownDirection property.

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

     

    Event

    Description

    BelowOrAbove (default)

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

    AboveOrBelow

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

    ForceBelow

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

    ForceAbove

    Forces the C1ComboBox content to open above the header.

     

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