Class BODYElementImpl
Class that is responsible for <BODY> Tag.
Inherited Members
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
[ElementTag("body")]
public class BODYElementImpl : BaseElement, IHTMLElement, ICloneable, IDisposable
Constructors
BODYElementImpl(IHTMLElement)
Initializes a new instance of the BODYElementImpl class
Declaration
public BODYElementImpl(IHTMLElement parent)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element for this object. |
Properties
BottomMargin
Gets or sets the bottom margin attribute for the element.
Declaration
protected int BottomMargin { get; set; }
Property Value
Type |
---|
System.Int32 |
LeftMargin
Gets or sets the left margin attribute for the element.
Declaration
protected int LeftMargin { get; set; }
Property Value
Type |
---|
System.Int32 |
OwnFormat
Overridden. Returns the HTML format for the element.
Declaration
protected override HTMLFormat OwnFormat { get; }
Property Value
Type |
---|
HTMLFormat |
Overrides
RightMargin
Gets or sets the right margin attribute for the element.
Declaration
protected int RightMargin { get; set; }
Property Value
Type |
---|
System.Int32 |
SupportedEvents
Overridden. Returns an array of the supported events.
Declaration
public override string[] SupportedEvents { get; }
Property Value
Type |
---|
System.String[] |
Overrides
TopMargin
Gets or sets the top margin attribute for the element.
Declaration
protected int TopMargin { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
RaiseOnLoadEvent(EventArgs)
Raises the load event.
Declaration
protected virtual void RaiseOnLoadEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
RaiseOnResizeEvent(EventArgs)
Raises the resize event.
Declaration
protected virtual void RaiseOnResizeEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
RaiseOnScrollEvent(EventArgs)
Raises the scroll event.
Declaration
protected virtual void RaiseOnScrollEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
RaiseOnUnLoadEvent(EventArgs)
Raises the unload event.
Declaration
protected virtual void RaiseOnUnLoadEvent(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
SetFirstFormat(ArrayList)
Overridden. Sets the first format with white background color.
Declaration
protected override void SetFirstFormat(ArrayList formats)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ArrayList | formats | Array of formats. |
Overrides
Events
OnLoad
Event raised when document is loading.
Declaration
[ElementEvent("RaiseOnLoadEvent")]
public event EventHandler OnLoad
Event Type
Type |
---|
System.EventHandler |
OnResize
Event raised when document is resizing.
Declaration
[ElementEvent("RaiseOnResizeEvent")]
public event EventHandler OnResize
Event Type
Type |
---|
System.EventHandler |
OnScroll
Event raised when document is scrolling.
Declaration
[ElementEvent("RaiseOnScrollEvent")]
public event EventHandler OnScroll
Event Type
Type |
---|
System.EventHandler |
OnUnLoad
Event raised when document is unloading.
Declaration
[ElementEvent("RaiseOnUnLoadEvent")]
public event EventHandler OnUnLoad
Event Type
Type |
---|
System.EventHandler |