Class H1ElementImpl
Class that is responsible for <H1> Tag.
Inheritance
System.Object
H1ElementImpl
Inherited Members
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("h1")]
public class H1ElementImpl : BaseElement, IHTMLElement, ICloneable, IDisposable
Constructors
H1ElementImpl(IHTMLElement)
Initializes a new instance of the H1ElementImpl class
Declaration
public H1ElementImpl(IHTMLElement parent)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element for this object. |
H1ElementImpl(IHTMLElement, String)
Initializes a new instance of the H1ElementImpl class
Declaration
protected H1ElementImpl(IHTMLElement parent, string tagName)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element. |
System.String | tagName | Name of the tag. |
Properties
OwnFormat
Overridden. Own format for font. (Sets the size of the font if needed).
Declaration
protected override HTMLFormat OwnFormat { get; }
Property Value
Type |
---|
HTMLFormat |
Overrides
SupportedEvents
Overridden. Returns the array of supported events.
Declaration
public override string[] SupportedEvents { get; }
Property Value
Type |
---|
System.String[] |
Overrides
Methods
GetFontSize()
Returns the default font size for element.
Declaration
protected virtual int GetFontSize()
Returns
Type | Description |
---|---|
System.Int32 | Size of the font. |
MoveFinalCurPos(ref Point)
Overridden. Moves the current position of the parent element down after this element.
Declaration
protected override void MoveFinalCurPos(ref Point currentPos)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | currentPos | Current global position. |
Overrides
MoveStartCurPos(ref Point)
Overridden. Moves the current position of the parent element down before.
Declaration
protected override void MoveStartCurPos(ref Point currentPos)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | currentPos | Current global position. |
Overrides
Implements
System.ICloneable
System.IDisposable