Back to Devexpress

RepositoryItemHyperLinkEdit.LinkColor Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemhyperlinkedit-1892b96e.md

latest2.5 KB
Original Source

RepositoryItemHyperLinkEdit.LinkColor Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public virtual Color LinkColor { get; set; }
vb
<DXCategory("Appearance")>
Public Overridable Property LinkColor As Color

Property Value

TypeDescription
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

Appearance

Caption

Text

RepositoryItemHyperLinkEdit Class

RepositoryItemHyperLinkEdit Members

DevExpress.XtraEditors.Repository Namespace