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
Icon
Gets or sets the icon for the command.
[DomName("icon")]
string? Icon { get; set; }
Property Value
IsChecked
Gets or sets if the menuitem element is checked or not.
[DomName("checked")]
bool IsChecked { get; set; }
Property Value
IsDefault
Gets or sets if the menuitem element is the default command.
[DomName("default")]
bool IsDefault { get; set; }
Property Value
IsDisabled
Gets or sets if the menuitem element is enabled or disabled.
[DomName("disabled")]
bool IsDisabled { get; set; }
Property Value
Label
Gets or sets the user-visible label.
[DomName("label")]
string? Label { get; set; }
Property Value
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
Type
Gets or sets the type of command.
[DomName("type")]
string? Type { get; set; }