In This Article

MarkupLabelAnchorElement Class

Represents a MarkupLabelElement for an a element.

public class MarkupLabelAnchorElement : MarkupLabelElement, IDisposable, ILogicalTreeNode
Inheritance:
object MarshalByRefObject MarshalByRefDisposableObject LogicalTreeNodeBase MarkupLabelElement object
Implements:
IDisposable ILogicalTreeNode

Constructors

MarkupLabelAnchorElement()

Represents a MarkupLabelElement for an a element.

public MarkupLabelAnchorElement()

Properties

HRef

The HREF to which the anchor is linked.

public string? HRef { get; set; }

Property Value

string

Methods

GetDefaultCssData()

Returns the default MarkupLabelCssData for the element.

public override MarkupLabelCssData GetDefaultCssData()

Returns

MarkupLabelCssData

GetForeColor(UIElementDrawState)

The foreground Color to use for drawing the element.

public override Color GetForeColor(UIElementDrawState drawState)
Parameter Type Description
drawState UIElementDrawState

A UIElementDrawState indicating the draw state.

Returns

Color

Inherited Members

Extension Methods