HtmlMenuElement Class

https://html.spec.whatwg.org/multipage/grouping-content.html#htmlmenuelement

public sealed class HtmlMenuElement : HtmlElement
Inheritance
HtmlElement HtmlMenuElement

Properties

NameDescription
CompactGets or sets a value indicating whether the element has the compact content attribute.

Gets or sets a value indicating whether the element has the compact content attribute.

public bool Compact { get; set; }