Back to Devexpress

Color Editor Elements

aspnet-6799-components-data-editors-aspxcoloredit-visual-elements.md

latest4.5 KB
Original Source

Color Editor Elements

  • Jun 16, 2022
  • 2 minutes to read

This topic describes the visible elements of the ASPxColorEdit.

The following visual elements are available:

Color Indicator

The color indicator displays the selected color within the editor’s edit box.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
StyleASPxColorEdit.ColorIndicatorStyle
WidthASPxColorEdit.ColorIndicatorWidth
HeightASPxColorEdit.ColorIndicatorHeight

Color Table

The color table consists of the default color section , which is always visible, and a custom color section. To display the custom color section, set the ASPxColorEdit.EnableCustomColors property to true. If a user clicks the Custom Color… button, it invokes the color picker.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
StyleASPxColorEdit.ColorTableStyle
Column CountASPxColorEdit.ColumnCount
Default ColorsASPxColorEdit.Items
Custom Color Section VisibilityASPxColorEdit.EnableCustomColors
Custom Color Button TextASPxColorEdit.CustomColorButtonText

Color Table Cell

The color table cell displays an individual color within the color table.

The table below lists the main members that affect the element’s appearance and functionality:

CharacteristicsMembers
StyleASPxColorEdit.ColorTableCellStyle

Automatic Color Item

The automatic color item allows users to select a predefined default color.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
AvailabilityASPxColorEdit.EnableAutomaticColorItem
ColorASPxColorEdit.AutomaticColor
CaptionASPxColorEdit.AutomaticColorItemCaption
ValueASPxColorEdit.AutomaticColorItemValue
StyleASPxColorEdit.ColorTableCellStyle

Color Picker

Click the Custom Color… button in the color table to display the color picker.

The table below lists the main members that affect element appearance and functionality.

CharacteristicsMembers
AvailabilityASPxColorEdit.EnableCustomColors
OK Button TextASPxColorEdit.OkButtonText
Cancel Button TextASPxColorEdit.CancelButtonText
StyleASPxColorEdit.ColorPickerStyle