Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

ColorEdit.Text Property

Gets the text displayed in the edit box.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Bindable(false)]
[Browsable(false)]
public override string Text { get; set; }

#Property Value

Type Description
String

The text displayed in the edit box.

#Remarks

The Text property allows you to retrieve the text displayed in the edit box. This specifies the textual representation of the selected color.

Use the RepositoryItemColorEdit.ColorText property to control the manner in which the selected color is displayed in the edit box. It is possible to represent the selected color as an integer value or using a common name.

You are not able to set the display text. Changing the Text property assigns the System.Drawing.Color.Empty color to the ColorEdit.Color property and edit value.

See Also