Skip to main content

RepositoryItemHyperLinkEdit.LinkColor Property

Gets or sets the foreground color of the editor’s display text.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public virtual Color LinkColor { get; set; }

Property Value

Type Description
Color

The color of the editor’s display text.

Remarks

The LinkColor property specifies the color of the editor’s display text. To manipulate the background color, font or text alignment, see the corresponding properties of the RepositoryItem.Appearance object. Note: the Appearance.ForeColor property is not in effect for hyperlink editors.

The display text is determined by the RepositoryItemHyperLinkEdit.Caption property. If the property is set to an empty string, the editor displays the hyperlink command in the edit box and this is specified by the BaseEdit.Text property. Otherwise, the editor displays the value of the RepositoryItemHyperLinkEdit.Caption property.

See Also