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

RepositoryItemHyperLinkEdit.LinkColorUseParentAppearance Property

Gets or sets whether the link text color is specified by parent appearance settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool LinkColorUseParentAppearance { get; set; }

#Property Value

Type Default Description
Boolean false

true if the link text color is specified by parent appearance settings; otherwise, false.

#Remarks

By default, the HyperLinkEdit‘s text is painted according to the RepositoryItemHyperLinkEdit.LinkColor property or the AppearanceObject.ForeColor property of the RepositoryItem.Appearance object. If these properties are not set, the default color is used.

A HyperLinkEdit can be embedded in a container control (GridControl, TreeList, etc.). In this case, you may want to paint text in an in-place HyperLinkEdit control using the appearance settings provided by the parent container control. To do this, set the LinkColorUseParentAppearance property to true. The RepositoryItemHyperLinkEdit.LinkColor and RepositoryItemHyperLinkEdit.Appearance.ForeColor properties will be ignored.

See Also