AngleSharp by AngleSharp

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

.NET API 1,224,192 bytes

 IHtmlOptionElement

Represents the option HTML element.

Gets the associated HTML form element.

int Index { get; }

Gets the index of the option element.

bool IsDefaultSelected { get; set; }

Gets or sets if the option is selected by default.

bool IsDisabled { get; set; }

Gets or sets if the option is enabled or disabled.

bool IsSelected { get; set; }

Gets or sets if the option is currently selected.

string Label { get; set; }

Gets or sets the label.

string Text { get; set; }

Gets or sets the text of the option.

string Value { get; set; }

Gets or sets the value.