Table of Contents

Interface IHtmlMenuItemElement

Namespace
AngleSharp.Html.Dom
Assembly
AngleSharp.dll

Represents the menuitem HTML element.

[DomName("HTMLMenuItemElement")]
public interface IHtmlMenuItemElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers
Inherited Members
Extension Methods

Properties

Command

Gets the assigned master command, if any.

[DomName("command")]
IHtmlElement? Command { get; }

Property Value

IHtmlElement

Icon

Gets or sets the icon for the command.

[DomName("icon")]
string? Icon { get; set; }

Property Value

string

IsChecked

Gets or sets if the menuitem element is checked or not.

[DomName("checked")]
bool IsChecked { get; set; }

Property Value

bool

IsDefault

Gets or sets if the menuitem element is the default command.

[DomName("default")]
bool IsDefault { get; set; }

Property Value

bool

IsDisabled

Gets or sets if the menuitem element is enabled or disabled.

[DomName("disabled")]
bool IsDisabled { get; set; }

Property Value

bool

Label

Gets or sets the user-visible label.

[DomName("label")]
string? Label { get; set; }

Property Value

string

RadioGroup

Gets or sets the name of group of commands to treat as a radio button group.

[DomName("radiogroup")]
string? RadioGroup { get; set; }

Property Value

string

Type

Gets or sets the type of command.

[DomName("type")]
string? Type { get; set; }

Property Value

string