AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.2" />

.NET API 1,213,440 bytes

 HtmlElement

Represents a standard HTML element in the node tree.
public string AccessKey { get; set; }

Gets or sets the access key assigned to the element.

public string AccessKeyLabel { get; }

Gets the element's assigned access key.

public string ContentEditable { get; set; }

Gets or sets whether or not the element is editable. This enumerated attribute can have the values true, false and inherited.

public IHtmlMenuElement ContextMenu { get; set; }

Gets or sets the assigned context menu.

public IStringMap Dataset { get; }

Gets access to all the custom data attributes (data-*) set on the element. It is a map of DOMString, one entry for each custom data attribute.

public string Direction { get; set; }

Gets or sets the value of the dir attribute.

public ISettableTokenList DropZone { get; }

Gets the dropzone for this element.

public bool IsContentEditable { get; }

Gets if the element is currently contenteditable.

public bool IsDraggable { get; set; }

Gets or sets if the element is draggable.

public bool IsHidden { get; set; }

Gets or sets if the element is hidden.

public bool IsSpellChecked { get; set; }

Gets or sets if spell-checking is activated.

public bool IsTranslated { get; set; }

Gets or sets if the element should be translated.

public string Language { get; set; }

Gets or sets the value of the lang attribute.

public ICssStyleDeclaration Style { get; }

Gets an object representing the declarations of an element's style attributes.

public int TabIndex { get; set; }

Gets or sets the position of the element in the tabbing order.

public string Title { get; set; }

Gets or sets the value of the title attribute.

public HtmlElement(Document owner, string localName, string prefix = null, NodeFlags flags = 0)

Creates a standard HTML element.

public virtual void DoBlur()

public virtual void DoClick()

public virtual void DoFocus()

public void DoSpellCheck()

Gets the assigned form if any (use only on selected elements).

protected bool IsClickedCancelled()