RepositoryItemColorEdit.ColorText Property
Gets or sets the value indicating the type of display text describing the selected color.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v22.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(ColorText.Native)]
[DXCategory("Behavior")]
public ColorText ColorText { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ColorText | Native | The type of display text to represent the selected color. |
Available values:
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 |
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
|
Remarks
The ColorText type enumerates possible styles to represent the selected color. It is possible to represent the selected color either as integer or using the corresponding common name. Refer to the ColorText topic for more information.