Skip to main content

ColorEdit.Text Property

Gets the text displayed in the edit box.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.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