Class AElementImpl
Class that is responsible for <A> Tag.
Inherited Members
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
[ElementTag("a")]
public class AElementImpl : BaseElement, IHTMLElement, ICloneable, IDisposable
Constructors
AElementImpl(IHTMLElement)
Initializes a new instance of the AElementImpl class
Declaration
public AElementImpl(IHTMLElement parent)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element for this object. |
Properties
HoverFormat
Gets the format object containing :hover pseudo-class style.
Declaration
public IHTMLFormat HoverFormat { get; }
Property Value
Type |
---|
IHTMLFormat |
IsVisited
Gets a value indicating whether the link is visited.
Declaration
public bool IsVisited { get; }
Property Value
Type |
---|
System.Boolean |
OwnFormat
Overridden. Gets or sets the format which is special for tag A (hyperlink).
Declaration
protected override HTMLFormat OwnFormat { get; }
Property Value
Type |
---|
HTMLFormat |
Overrides
SupportedEvents
Overridden. Returns an array of the supported events.
Declaration
public override string[] SupportedEvents { get; }
Property Value
Type |
---|
System.String[] |
Overrides
VisitedFormat
Gets the format object containing :visited pseudo-class style.
Declaration
public IHTMLFormat VisitedFormat { get; }
Property Value
Type |
---|
IHTMLFormat |
Methods
GetPath()
Returns a string which represents the path (value of href attribute) if it exists; NULL otherwise.
Declaration
protected string GetPath()
Returns
Type | Description |
---|---|
System.String | Link path. |
InitializeElement()
Overridden. Initializes element's properties.
Declaration
protected override void InitializeElement()
Overrides
OnDispose()
Overridden. Disposes resources.
Declaration
protected override void OnDispose()
Overrides
OnForward(LinkForwardEventArgs)
Raises the Forward event.
Declaration
protected virtual void OnForward(LinkForwardEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
LinkForwardEventArgs | args | Event arguments. |
RaiseClickEvent(EventArgs)
Overridden. Implement on click functionality.
Declaration
protected override void RaiseClickEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
Overrides
RaiseForward(LinkForwardEventArgs)
Raises Forward event.
Declaration
protected void RaiseForward(LinkForwardEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
LinkForwardEventArgs | args | Event arguments. |
RaiseMouseEnterEvent(EventArgs)
Overridden. Raised when mouse enters the element.
Declaration
protected override void RaiseMouseEnterEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event data. |
Overrides
RaiseMouseLeaveEvent(EventArgs)
Overridden. Raised when mouse leaves the element.
Declaration
protected override void RaiseMouseLeaveEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event data. |
Overrides
ResetVisited()
Excludes element from visited links list.
Declaration
public void ResetVisited()
Events
Forward
Raised before forwarding on another resource by defined URI.
Declaration
public event LinkForwardEventHandler Forward
Event Type
Type |
---|
LinkForwardEventHandler |