Поделиться через


SelectionModel Класс

Определение

/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class SelectionModel : INotifyPropertyChanged
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class SelectionModel : INotifyPropertyChanged
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public class SelectionModel : INotifyPropertyChanged
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class SelectionModel : INotifyPropertyChanged
Public Class SelectionModel
Implements INotifyPropertyChanged
Наследование
Object IInspectable SelectionModel
Атрибуты
Реализации

Конструкторы

SelectionModel()

Свойства

AnchorIndex
SelectedIndex
SelectedIndices
SelectedItem
SelectedItems
SingleSelect
Source

Методы

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()
SelectAt(IndexPath)
SelectRange(IndexPath, IndexPath)
SelectRangeFromAnchor(Int32, Int32)
SelectRangeFromAnchor(Int32)
SelectRangeFromAnchorTo(IndexPath)
SetAnchorIndex(Int32, Int32)
SetAnchorIndex(Int32)

События

ChildrenRequested
PropertyChanged
SelectionChanged

Применяется к