Basic Properties

ComponentOne ColorPicker for WPF includes several properties that allow you to set the functionality of the control. Some of the more important properties are listed below. Note that you can see ColorPicker Appearance Properties for more information about properties that control appearance.

The following properties let you customize the C1ColorPicker control:

 

Property

Description

DropDownDirection

Specifies the expand direction of the control drop-down arrow.

IsDropDownOpen

Opens or closes the control drop-down box.

Mode

Indicates the mode of the color picker. Options include Basic, Advanced, and Both (default).

Palette

Gets/sets the palette to be used.

SelectedBrush

Gets the currently selected color as a Brush.

SelectedColor

Gets/sets the currently selected color.

ShowAlphaChannel

Gets/sets whether the user can change the alpha channel (transparency value).

ShowRecentColors

Indicates if recently picked colors should be shown.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.