Class MultiSelector
Provides an abstract class for controls that allow multiple items to be selected.
Inheritance
System.Object
MultiSelector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
public abstract class MultiSelector : Selector
Constructors
| Improve this Doc View SourceMultiSelector()
Initializes a new instance of the System.Windows.Controls.Primitives.MultiSelector class.
Declaration
protected MultiSelector()
Fields
| Improve this Doc View SourceSelectedItemsProperty
Identifies the SelectedItems dependency property.
Declaration
public static readonly DependencyProperty SelectedItemsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceSelectedItems
Gets the items in the System.Windows.Controls.Primitives.MultiSelector that are selected.
Declaration
public IList SelectedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.IList |
Methods
| Improve this Doc View SourceOnItemsSourceChanged_BeforeVisualUpdate(IEnumerable, IEnumerable)
Declaration
protected override void OnItemsSourceChanged_BeforeVisualUpdate(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | |
System.Collections.IEnumerable | newValue |
Overrides
| Improve this Doc View SourceSetItemVisualSelectionState(Object, Boolean)
Declaration
protected abstract void SetItemVisualSelectionState(object item, bool newState)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | |
System.Boolean | newState |
UnselectAllItems()
Declaration
protected abstract void UnselectAllItems()