Share via


SelectionModel Class

Definition

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 655360)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SelectionModel : INotifyPropertyChanged
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 655360)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class SelectionModel : INotifyPropertyChanged
Public Class SelectionModel
Implements INotifyPropertyChanged
Inheritance
Object IInspectable SelectionModel
Attributes
Implements

Constructors

Name Description
SelectionModel()

Properties

Name Description
AnchorIndex
SelectedIndex
SelectedIndices
SelectedItem
SelectedItems
SingleSelect
Source

Methods

Name Description
ClearSelection()
Deselect(Int32, Int32)
Deselect(Int32)
DeselectAt(IndexPath)
DeselectRange(IndexPath, IndexPath)
DeselectRangeFromAnchor(Int32, Int32)
DeselectRangeFromAnchor(Int32)
DeselectRangeFromAnchorTo(IndexPath)
IsSelected(Int32, Int32)
IsSelected(Int32)
IsSelectedAt(IndexPath)
OnPropertyChanged(String)
Select(Int32, Int32)
Select(Int32)
SelectAll()
SelectAllFlat()
SelectAt(IndexPath)
SelectRange(IndexPath, IndexPath)
SelectRangeFromAnchor(Int32, Int32)
SelectRangeFromAnchor(Int32)
SelectRangeFromAnchorTo(IndexPath)
SetAnchorIndex(Int32, Int32)
SetAnchorIndex(Int32)

Events

Name Description
ChildrenRequested
PropertyChanged
SelectionChanged

Applies to