Skip to content

ComboBoxMarkupExtensions.SelectedItem method

Sets the currently selected item object.

public static ComboBox SelectedItem(this ComboBox target, object? value)
parameter description
target Target ComboBox.
value Value assigned to SelectedItem.

The same element for chaining.

Sets: ComboBox.SelectedItem