Skip to main content

ISelectionModel Interface

Definition​

Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public interface ISelectionModel : INotifyPropertyChanged
View Source
ImplementsINotifyPropertyChanged

Properties​

AnchorIndex 
Count 
SelectedIndex 
SelectedIndexes 
SelectedItem 
SelectedItems 
SingleSelect 
Source 

Methods​

BeginBatchUpdate() 
Clear() 
Deselect(Int32) 
DeselectRange(Int32, Int32) 
EndBatchUpdate() 
IsSelected(Int32) 
Select(Int32) 
SelectAll() 
SelectRange(Int32, Int32) 

Events​

IndexesChanged 
LostSelection 
PropertyChangedOccurs when a property value changes.
(Inherited from INotifyPropertyChanged)
SelectionChanged 
SourceReset 

Extension Methods​

BatchUpdate()
(Defined by SelectionModelExtensions)

See Also​

Reference​

Avalonia.Controls.Selection Namespace