SelectionModel<T> Class
Definition
Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class SelectionModel<T> : SelectionNodeBase<T>,
ISelectionModel, INotifyPropertyChanged
Public Class SelectionModel(Of T)
Inherits SelectionNodeBase(Of T)
Implements ISelectionModel, INotifyPropertyChanged
type SelectionModel<'T> =
class
inherit SelectionNodeBase<'T>
interface ISelectionModel
interface INotifyPropertyChanged
end
| Inheritance | Object → SelectionNodeBase(T) → SelectionModel(T) |
| Implements | ISelectionModel, INotifyPropertyChanged |
Type Parameters
Constructors
| SelectionModel(T)() | Initializes a new instance of the SelectionModel(T) class |
| SelectionModel(T)(IEnumerable(T)) | Initializes a new instance of the SelectionModel(T) class |
Properties
| AnchorIndex | |
| Count | |
| ItemsView | Gets an ItemsSourceView(T) of the Source. (Inherited from SelectionNodeBase(T)) |
| RangesEnabled | Gets or sets a value indicating whether range selection is currently enabled for the selection node. (Inherited from SelectionNodeBase(T)) |
| SelectedIndex | |
| SelectedIndexes | |
| SelectedItem | |
| SelectedItems | |
| SingleSelect | |
| Source |
Methods
Events
| IndexesChanged | |
| LostSelection | |
| PropertyChanged | |
| SelectionChanged | |
| SourceReset |
Extension Methods
| BatchUpdate() | (Defined by SelectionModelExtensions) |