HtmlDialogElement Class
https://html.spec.whatwg.org/multipage/interactive-elements.html#htmldialogelement
public sealed class HtmlDialogElement : HtmlElement- Inheritance
HtmlElementHtmlDialogElement
Properties
| Name | Description |
|---|---|
| ClosedBy | Gets or sets the value of the closedby content attribute. |
| Open | Gets or sets a value indicating whether the element has the open content attribute. |
| ReturnValue | https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-returnvalue |
ClosedBy
HtmlElements.g.csGets or sets the value of the closedby content attribute.
public string ClosedBy { get; set; }Gets or sets a value indicating whether the element has the open content attribute.
public bool Open { get; set; }Property value
See also
ReturnValue
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-returnvalue
public string ReturnValue { get; set; }Methods
| Name | Description |
|---|---|
| Close(string?) | https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-close |
| RequestClose(string?) | https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-requestclose |
| Show() | https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-show |
| ShowModal() | https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-showmodal |
Close(string?)
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-close
RequestClose(string?)
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-requestclose
Show()
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-show
public void Show()ShowModal()
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-showmodal
public void ShowModal()