Selector​Item Selector​Item Selector​Item Class

Definition

Provides a base class for item types in a selection control.

public class SelectorItem : ContentControl, ISelectorItempublic class SelectorItem : ContentControl, ISelectorItemPublic Class SelectorItem Inherits ContentControl Implements ISelectorItem
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods

Remarks

SelectorItem is a companion base class to the Selector base class. Basically SelectorItem is the shared base class for all the specialized items that are the item type of various Selector controls. For example, ListBox is a Selector subclass, and its ListBoxItem item type is a SelectorItem subclass.

SelectorItem derived classes

SelectorItem is the parent class for these item type classes:

Constructors

SelectorItem() SelectorItem() SelectorItem()

Provides base class initialization behavior for SelectorItem -derived classes.

protected SelectorItem()protected SelectorItem()Protected Sub New()
Attributes

Properties

IsSelected IsSelected IsSelected

Gets or sets a value that indicates whether the item is selected in a selector.

public PlatForm::Boolean IsSelected { get; set; }public bool IsSelected { get; set; }Public ReadWrite Property IsSelected As bool
<selectorItem IsSelected="bool" />
Value
bool bool bool

true if the item is selected; otherwise, false.

Attributes

IsSelectedProperty IsSelectedProperty IsSelectedProperty

Identifies the IsSelected dependency property.

public static DependencyProperty IsSelectedProperty { get; }public static DependencyProperty IsSelectedProperty { get; }Public Static ReadOnly Property IsSelectedProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the IsSelected dependency property.

Attributes