- Namespace
- Avalonia
.Controls .Selection - Interfaces
-
- I
Notify Property Changed
- I
- Implementing Types
graph BT
Type-.->Interface0["INotifyPropertyChanged"]
Type["ISelectionModel"]
class Type type-node
Implementing0["SelectionModel<T>"]-.->Type
click Implementing0 "/api/Avalonia.Controls.Selection/SelectionModel_1"
Syntax
public interface ISelectionModel : INotifyPropertyChanged
Events
Name | Type | Summary |
---|---|---|
IndexesChanged | EventHandler |
|
LostSelection | EventHandler? | |
SelectionChanged | EventHandler |
|
SourceReset | EventHandler? |
Properties
Name | Value | Summary |
---|---|---|
AnchorIndex | int | |
Count | int | |
SelectedIndex | int | |
SelectedIndexes | IReadOnlyList |
|
SelectedItem | object? | |
SelectedItems | IReadOnlyList |
|
SingleSelect | bool | |
Source | IEnumerable? |
Methods
Name | Value | Summary |
---|---|---|
BeginBatchUpdate |
void | |
Clear |
void | |
Deselect |
void | |
DeselectRange |
void | |
EndBatchUpdate |
void | |
IsSelected |
bool | |
Select |
void | |
SelectAll |
void | |
SelectRange |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
BatchUpdate |
IDisposable |