Skip to content

ComboBoxMarkupExtensions class

Generated fluent setters and event subscriptions for ComboBox.

Guide: C# Markup guide

public static class ComboBoxMarkupExtensions
name description
static ChangeOnWheel(…) Sets whether the mouse wheel changes the selection to the previous or next item while the pointer is over the combo box.
static ItemHeight(…) Sets the height of items in the drop-down list.
static OnSelectionChanged(…) Subscribes handler to SelectionChanged. Occurs when the selected item changes.
static Placeholder(…) Sets the placeholder text shown when no item is selected.
static SelectedIndex(…) Sets the selected item index.
static SelectedItem(…) Sets the currently selected item object.
static ZebraStriping(…) Sets whether alternating drop-down items use a second background color (zebra striping).