HtmlBodyElement Class

https://html.spec.whatwg.org/multipage/sections.html#htmlbodyelement

public sealed class HtmlBodyElement : HtmlElement
Inheritance
HtmlElement HtmlBodyElement

Properties

NameDescription
ALinkGets or sets the value of the alink content attribute.
BackgroundGets or sets the value of the background content attribute.
BgColorGets or sets the value of the bgcolor content attribute.
LinkGets or sets the value of the link content attribute.
OnAfterPrintGets or sets the event handler of the afterprint event (the onafterprint event handler attribute).
OnBeforePrintGets or sets the event handler of the beforeprint event (the onbeforeprint event handler attribute).
OnBeforeUnloadGets or sets the event handler of the beforeunload event (the onbeforeunload event handler attribute).
OnHashChangeGets or sets the event handler of the hashchange event (the onhashchange event handler attribute).
OnLanguageChangeGets or sets the event handler of the languagechange event (the onlanguagechange event handler attribute).
OnMessageGets or sets the event handler of the message event (the onmessage event handler attribute).
OnMessageErrorGets or sets the event handler of the messageerror event (the onmessageerror event handler attribute).
OnOfflineGets or sets the event handler of the offline event (the onoffline event handler attribute).
OnOnlineGets or sets the event handler of the online event (the ononline event handler attribute).
OnPageHideGets or sets the event handler of the pagehide event (the onpagehide event handler attribute).
OnPageRevealGets or sets the event handler of the pagereveal event (the onpagereveal event handler attribute).
OnPageShowGets or sets the event handler of the pageshow event (the onpageshow event handler attribute).
OnPageSwapGets or sets the event handler of the pageswap event (the onpageswap event handler attribute).
OnPopStateGets or sets the event handler of the popstate event (the onpopstate event handler attribute).
OnRejectionHandledGets or sets the event handler of the rejectionhandled event (the onrejectionhandled event handler attribute).
OnStorageGets or sets the event handler of the storage event (the onstorage event handler attribute).
OnUnhandledRejectionGets or sets the event handler of the unhandledrejection event (the onunhandledrejection event handler attribute).
OnUnloadGets or sets the event handler of the unload event (the onunload event handler attribute).
TextGets or sets the value of the text content attribute.
VLinkGets or sets the value of the vlink content attribute.

Gets or sets the value of the background content attribute.

public string Background { get; set; }

Gets or sets the value of the bgcolor content attribute.

public string BgColor { get; set; }

OnAfterPrint

HtmlElements.g.cs

Gets or sets the event handler of the afterprint event (the onafterprint event handler attribute).

public Action<Event>? OnAfterPrint { get; set; }

OnBeforePrint

HtmlElements.g.cs

Gets or sets the event handler of the beforeprint event (the onbeforeprint event handler attribute).

public Action<Event>? OnBeforePrint { get; set; }

OnBeforeUnload

HtmlElements.g.cs

Gets or sets the event handler of the beforeunload event (the onbeforeunload event handler attribute).

public Action<Event>? OnBeforeUnload { get; set; }

OnHashChange

HtmlElements.g.cs

Gets or sets the event handler of the hashchange event (the onhashchange event handler attribute).

public Action<Event>? OnHashChange { get; set; }

OnLanguageChange

HtmlElements.g.cs

Gets or sets the event handler of the languagechange event (the onlanguagechange event handler attribute).

public Action<Event>? OnLanguageChange { get; set; }

Gets or sets the event handler of the message event (the onmessage event handler attribute).

public Action<Event>? OnMessage { get; set; }

OnMessageError

HtmlElements.g.cs

Gets or sets the event handler of the messageerror event (the onmessageerror event handler attribute).

public Action<Event>? OnMessageError { get; set; }

Gets or sets the event handler of the offline event (the onoffline event handler attribute).

public Action<Event>? OnOffline { get; set; }

Gets or sets the event handler of the online event (the ononline event handler attribute).

public Action<Event>? OnOnline { get; set; }

Gets or sets the event handler of the pagehide event (the onpagehide event handler attribute).

public Action<Event>? OnPageHide { get; set; }

OnPageReveal

HtmlElements.g.cs

Gets or sets the event handler of the pagereveal event (the onpagereveal event handler attribute).

public Action<Event>? OnPageReveal { get; set; }

Gets or sets the event handler of the pageshow event (the onpageshow event handler attribute).

public Action<Event>? OnPageShow { get; set; }

Gets or sets the event handler of the pageswap event (the onpageswap event handler attribute).

public Action<Event>? OnPageSwap { get; set; }

Gets or sets the event handler of the popstate event (the onpopstate event handler attribute).

public Action<Event>? OnPopState { get; set; }

OnRejectionHandled

HtmlElements.g.cs

Gets or sets the event handler of the rejectionhandled event (the onrejectionhandled event handler attribute).

public Action<Event>? OnRejectionHandled { get; set; }

Gets or sets the event handler of the storage event (the onstorage event handler attribute).

public Action<Event>? OnStorage { get; set; }

OnUnhandledRejection

HtmlElements.g.cs

Gets or sets the event handler of the unhandledrejection event (the onunhandledrejection event handler attribute).

public Action<Event>? OnUnhandledRejection { get; set; }

Gets or sets the event handler of the unload event (the onunload event handler attribute).

public Action<Event>? OnUnload { get; set; }

Gets or sets the value of the text content attribute.

public string Text { get; set; }