4.781 Selector

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ItemsControl > Selector, IInputElement
Selector
ComboBox ListBox MultiSelector Ribbon TabControl
(usage)
None.
(description)
Represents a control that allows a user to select items from among its child elements.
[is default constructible]
false
[content property]
Items
[name property]
Name
[xml lang property]
Language
(properties)
IsSynchronizedWithCurrentItem
x:Nullable(x:Boolean)
(description)
A value that indicates whether a Selector should keep the SelectedItem synchronized with the current item in the Items property.
SelectedIndex
x:Int32
(description)
The index of the first item in the current selection or returns negative one (-1) if the selection is empty.
SelectedItem
x:Object
(description)
The first item in the current selection or returns null if the selection is empty
SelectedValue
x:Object
(description)
The value of the SelectedItem, obtained by using SelectedValuePath.
SelectedValuePath
x:String
(description)
The path that is used to get the SelectedValue from the SelectedItem.
(attachable properties)
Selector.IsSelected
x:Boolean
(description)
A value that indicates whether an item is selected.
[target type]
DependencyObject
(events)
SelectionChanged
Occurs when the selection of a Selector changes.
(attachable events)
Selector.Selected
Occurs when an item is selected.
Selector.Unselected
Occurs when an item is unselected.