Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.38 KB

selectingitemscontrol.md

File metadata and controls

22 lines (17 loc) · 1.38 KB

SelectingItemsControl

Inheritance: ItemsControl
AvaloniaUI documentation: SelectingItemsControl API

Properties

Properties Description
autoScrollToSelectedItem(value: bool) Sets the AutoScrollToSelectedItem property.
selectedIndex(value: int) Sets the SelectedIndex property.
selectedItem(value: obj) Sets the SelectedItem property.
isTextSearchEnabled(value: bool) Sets the IsTextSearchEnabled property.
wrapSelection(value: bool) Sets the WrapSelection property.
isSelected(value: bool) Sets the IsSelected property.

Events

Properties Description
onSelectionChanged(fn: SelectionChangedEventArgs -> 'msg) Raised when the control's selection changes.
onSelectedIndexChanged(index: int, fn: int -> 'msg) Raised when the control's selected index changes.