Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColorText Enum

Specifies the style used to represent the selected color in a ColorEdit control.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ColorText

#Members

Name Description
Integer

The selected color is represented as an integer value in the edit box.

The following image shows a color editor with the RepositoryItemColorEdit.ColorText property set to Integer.

ColorEdit_ColorText_Integer

Native

The selected color is represented as a human-readable string in the edit box. If the selected color is one of predefined colors, display text specifies its common name (such as Aquamarine, Highlight or WindowText). Otherwise, the string consists of the ARGB (alpha, red, green, and blue) components.

The following screenshots show color editors when the RepositoryItemColorEdit.ColorText property is set to Native.

  • a color is selected from the Custom panel of the dropdown window.

    ColorEdit_ColorText_Native_Custom

  • a color is selected from the Web panel of the dropdown window

    ColorEdit_ColorText_Native_Web

#Related API Members

The following properties accept/return ColorText values:

#Remarks

The ColorText type enumerates possible styles to represent the selected color in a color editor.
These enumeration values can be accessed via the RepositoryItemColorEdit.ColorText property.

See Also