menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AElementImpl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AElementImpl

    Class that is responsible for <A> Tag.

    Inheritance
    System.Object
    BaseElement
    AElementImpl
    Implements
    IHTMLElement
    System.ICloneable
    System.IDisposable
    Inherited Members
    BaseElement.AccessKey
    BaseElement.AccessKeyChanged
    BaseElement.AddBlocksToMain(BaseElement, Block, BlocksCollection)
    BaseElement.AddElement(Block, Object, Rectangle)
    BaseElement.ApplyFormat(IHTMLFormat)
    BaseElement.Attributes
    BaseElement.Attributes_Changed(Object, BeforeValueChangedEventArgs)
    BaseElement.BeforeDisposing
    BaseElement.BeforeStyleCalculated
    BaseElement.BeginUpdate()
    BaseElement.BreakText(Text, Block)
    BaseElement.CalculateBlockChildPos(BaseElement)
    BaseElement.CalculateBlockFixedSizePos(BaseElement)
    BaseElement.CalculateBlockNewLineFixedSizePos(BaseElement)
    BaseElement.CalculateBlockNewLineResizablePos(BaseElement)
    BaseElement.CalculateBlockNewLineSimplePos(BaseElement)
    BaseElement.CalculateBlockResizablePos(BaseElement)
    BaseElement.CalculateBlockSimplePos(BaseElement)
    BaseElement.CalculateChildPosFromType(BaseElement)
    BaseElement.CalculateChildPositions(Point, Rectangle)
    BaseElement.CalculateElementPos(Int32, Block)
    BaseElement.CalculateFormat()
    BaseElement.CalculateInlineChildPos(BaseElement)
    BaseElement.CalculateInnerHTML()
    BaseElement.CalculatePosition()
    BaseElement.CalculateSize()
    BaseElement.CalculateTextPos(Text, Block)
    BaseElement.ChangeStartPosition(Block)
    BaseElement.ChangeStartPosition(Rectangle)
    BaseElement.Children
    BaseElement.ChildrenFormatMerge(IHTMLElement, Boolean)
    BaseElement.ChildrenFormatMergeAndRecalcDoc(IHTMLElement)
    BaseElement.ChildrenFormatMergeAndRepaintDoc(IHTMLElement)
    BaseElement.Click
    BaseElement.ClientToGlobal(Rectangle)
    BaseElement.ClientToGlobal(RectangleF)
    BaseElement.Clone()
    BaseElement.Control
    BaseElement.CreateBlock(Block)
    BaseElement.CreateEvent(String)
    BaseElement.DEF_REGEX_OPTIONS
    BaseElement.DEF_RUNTIME
    BaseElement.DEF_RUNTIME_LOCATION
    BaseElement.DEF_RUNTIME_SIZE
    BaseElement.DEF_RUNTIME_VISIBLE
    BaseElement.DefGetSize()
    BaseElement.DefGetSizeInTable()
    BaseElement.DefGetSizeWithAttributes()
    BaseElement.Dispose()
    BaseElement.Document
    BaseElement.DoubleClick
    BaseElement.Draw(PaintEventArgs)
    BaseElement.DrawBlock(Block, PaintEventArgs)
    BaseElement.DrawBorders(Block, Graphics)
    BaseElement.DrawElement(PaintEventArgs)
    BaseElement.DrawText(Graphics, Rectangle, Text, Block)
    BaseElement.ElementAttributesPart
    BaseElement.ElementClosePart
    BaseElement.ElementInSameBlock(Rectangle)
    BaseElement.ElementOpenPart
    BaseElement.EndUpdate()
    BaseElement.Events
    BaseElement.ExpandBounds(Rectangle)
    BaseElement.ExpandHeight(Int32)
    BaseElement.ExpandLocation(Point)
    BaseElement.ExpandWidth(Int32)
    BaseElement.Focus()
    BaseElement.FocusDefault
    BaseElement.Focused
    BaseElement.Format
    BaseElement.FormatChanged
    BaseElement.GetArray(Hashtable)
    BaseElement.GetBlockParent()
    BaseElement.GetElementLevel(IHTMLElement)
    BaseElement.GetFormatFromAttributes()
    BaseElement.GetFreeWidthInLine(Block, Int32)
    BaseElement.GetHeightFromParent()
    BaseElement.GetInheritedFormat()
    BaseElement.GetInnerHeightFromParent()
    BaseElement.GetInnerWidthFromParent()
    BaseElement.GetMaxWidth()
    BaseElement.GetMaxWidthForTextSizing()
    BaseElement.GetParentForEvent(String)
    BaseElement.GetRealMaxWidth(String, Int32, HTMLFormat)
    BaseElement.GetRemainderWidth(Block, Int32)
    BaseElement.GetWidthFromParent()
    BaseElement.GetWidthToBorder(Block, Int32)
    BaseElement.GlobalToClient(Rectangle)
    BaseElement.GlobalToClient(RectangleF)
    BaseElement.GotFocus
    BaseElement.Graphics
    BaseElement.HasChildren
    BaseElement.HasEvents
    BaseElement.Height
    BaseElement.HideToolTip()
    BaseElement.ID
    BaseElement.IndentSpace
    BaseElement.InFillBlocks(String)
    BaseElement.InfillFromXMLElement(HTMLUIControl, XmlElement)
    BaseElement.InFillTextSizeHash()
    BaseElement.InFillTextSizeHash(XmlNode, Int32)
    BaseElement.InitializeCollections()
    BaseElement.InnerHTML
    BaseElement.InnerHTMLChanged
    BaseElement.InsertText(Text, Block, Size)
    BaseElement.IsAttributeHeight
    BaseElement.IsAttributeRuntime(String)
    BaseElement.IsAttributeWidth
    BaseElement.IsCDATA
    BaseElement.IsDisposed
    BaseElement.IsEventSupported(String)
    BaseElement.IsGoodWidth(Block, Int32, Int32)
    BaseElement.IsPostponed
    BaseElement.IsResizable
    BaseElement.IsStyleHeight
    BaseElement.IsStyleWidth
    BaseElement.IsVisible
    BaseElement.Item[String]
    BaseElement.KeyDown
    BaseElement.KeyPress
    BaseElement.KeyUp
    BaseElement.Leave
    BaseElement.LeaveFocus()
    BaseElement.Location
    BaseElement.LocationCalculated
    BaseElement.m_blocks
    BaseElement.m_bounds
    BaseElement.m_curPos
    BaseElement.m_isBlockStructure
    BaseElement.m_isPostponed
    BaseElement.m_oldCursor
    BaseElement.m_ownFormat
    BaseElement.MakeBottomIndent(Int32)
    BaseElement.MakeTopIndent(Int32)
    BaseElement.MeasureString(String, Font)
    BaseElement.MeasureString(String, Font, Int32)
    BaseElement.MeasureString(String, HTMLFormat, Int32)
    BaseElement.MouseDown
    BaseElement.MouseEnter
    BaseElement.MouseLeave
    BaseElement.MouseMove
    BaseElement.MoveFinalCurPos(Point)
    BaseElement.MoveStartCurPos(Point)
    BaseElement.Name
    BaseElement.NoWrapEnabled()
    BaseElement.OnAccessKeyChanged(ValueChangedEventArgs)
    BaseElement.OnBeforeDisposing(EventArgs)
    BaseElement.OnBeforeStyleCalculated(PreStyleCalculatedEventArgs)
    BaseElement.OnFormatChanged(IHTMLElement, HTMLFormat, HTMLFormat)
    BaseElement.OnFormatChanged(ValueChangedEventArgs)
    BaseElement.OnInnerHTMLChanged(ValueChangedEventArgs)
    BaseElement.OnLocationCalculated(EventArgs)
    BaseElement.OnPaint(ElementPaintEventArgs)
    BaseElement.OnParentChanged(ValueChangedEventArgs)
    BaseElement.OnQuietModeChanged()
    BaseElement.OnRuntimeAttributeChanged(String, ValueChangedEventArgs)
    BaseElement.OnSizeCalculated(EventArgs)
    BaseElement.OnUniqueIDChanged(ValueChangedEventArgs)
    BaseElement.OuterHTML
    BaseElement.Paint
    BaseElement.Parent
    BaseElement.ParentChanged
    BaseElement.PreparePositioning(Point, Rectangle)
    BaseElement.ProcessDrawBlock(Block, PaintEventArgs)
    BaseElement.ProcessSelection()
    BaseElement.ProhibitSpaceAfter()
    BaseElement.ProhibitSpaceBefore()
    BaseElement.QuietMode
    BaseElement.QuietModeChanged
    BaseElement.RaiseAccessKeyChanged(ValueChangedEventArgs)
    BaseElement.RaiseBeforeDisposing(EventArgs)
    BaseElement.RaiseBeforeStyleCalculated(PreStyleCalculatedEventArgs)
    BaseElement.RaiseDoubleClickEvent(EventArgs)
    BaseElement.RaiseFormatChanged(ValueChangedEventArgs)
    BaseElement.RaiseGotFocusEvent(EventArgs)
    BaseElement.RaiseInnerHTMLChanged(ValueChangedEventArgs)
    BaseElement.RaiseKeyDownEvent(EventArgs)
    BaseElement.RaiseKeyPressEvent(EventArgs)
    BaseElement.RaiseKeyUpEvent(EventArgs)
    BaseElement.RaiseLeaveEvent(EventArgs)
    BaseElement.RaiseLocationCalculated(EventArgs)
    BaseElement.RaiseMouseDownEvent(EventArgs)
    BaseElement.RaiseMouseMoveEvent(EventArgs)
    BaseElement.RaiseOnPaint(ElementPaintEventArgs)
    BaseElement.RaiseParentChanged(ValueChangedEventArgs)
    BaseElement.RaiseQuietModeChangedEvent()
    BaseElement.RaiseRuntimeAttributeChanged(String, ValueChangedEventArgs)
    BaseElement.RaiseSizeCalculated(EventArgs)
    BaseElement.RaiseTabIndexChangedEvent(EventArgs)
    BaseElement.RaiseUniqueIDChanged(ValueChangedEventArgs)
    BaseElement.ReCalculateDocument()
    BaseElement.ReConvertInnerHTML(XmlElement, IHTMLElement)
    BaseElement.ReduceBounds(Rectangle)
    BaseElement.ReduceHeight(Int32)
    BaseElement.ReduceLocation(Point)
    BaseElement.ReduceWidth(Int32)
    BaseElement.ReFormatCrtDocAndReCalcDoc(IHTMLElement)
    BaseElement.ReFormatCrtElmAndReCalcDoc(IHTMLElement)
    BaseElement.ReFormatMergeElement(IHTMLElement)
    BaseElement.ReFormatMergElmAndChildrenAndReCalcDoc(IHTMLElement)
    BaseElement.ReFormatMergElmAndReCalcDoc(IHTMLElement)
    BaseElement.RePaintDocument()
    BaseElement.RePaintElement(IHTMLElement)
    BaseElement.ReparseInnerHTML(String)
    BaseElement.RePositionDocument()
    BaseElement.RePositionElement(IHTMLElement)
    BaseElement.ResizeElement()
    BaseElement.RuntimeAttributeChanged
    BaseElement.RuntimeAttributes
    BaseElement.SelectedText
    BaseElement.SetElementStyle()
    BaseElement.SetFirstFormat(ArrayList)
    BaseElement.SetFormat(HTMLFormat)
    BaseElement.SetLastCurrentPosition()
    BaseElement.SetOwnFormat(ArrayList, Hashtable)
    BaseElement.ShiftStartPos(Point)
    BaseElement.ShowToolTip()
    BaseElement.Size
    BaseElement.SizeCalculated
    BaseElement.SkipWhiteSpaces
    BaseElement.SkipWidth
    BaseElement.SpaceProhibited
    BaseElement.SplitText(String, Int32, ArrayList)
    BaseElement.SplitTextToLines(ArrayList, Int32, ArrayList)
    BaseElement.Storage
    BaseElement.SyncTabStopCollection(Int32)
    BaseElement.TabIndex
    BaseElement.TabIndexChanged
    BaseElement.Text
    BaseElement.UniqueID
    BaseElement.UniqueIDChanged
    BaseElement.Width
    BaseElement.X
    BaseElement.Y
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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
    BaseElement.OwnFormat

    SupportedEvents

    Overridden. Returns an array of the supported events.

    Declaration
    public override string[] SupportedEvents { get; }
    Property Value
    Type
    System.String[]
    Overrides
    BaseElement.SupportedEvents

    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
    BaseElement.InitializeElement()

    OnDispose()

    Overridden. Disposes resources.

    Declaration
    protected override void OnDispose()
    Overrides
    BaseElement.OnDispose()

    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
    BaseElement.RaiseClickEvent(EventArgs)

    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
    BaseElement.RaiseMouseEnterEvent(EventArgs)

    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
    BaseElement.RaiseMouseLeaveEvent(EventArgs)

    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

    Implements

    IHTMLElement
    System.ICloneable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved