Property SelectedValue
SelectedValue
Gets or sets the export value of the selected option, or null if none is selected; of several selected options in a list box that allows multiple selection, the first. Setting a value selects that option alone; a value that is not an option is allowed only for an editable combo box.
public string? SelectedValue { get; set; }
Property Value
- string