SelectorItem SelectorItem SelectorItem Class

Definition

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

public class SelectorItempublic class SelectorItemPublic Class SelectorItem
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() SelectorItem()

Provides base class initialization behavior for SelectorItem -derived classes.

protected SelectorItem()protected New()Protected Sub New()protected SelectorItem()
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

IsSelected IsSelected IsSelected IsSelected

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

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

true if the item is selected; otherwise, false.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

IsSelectedProperty IsSelectedProperty IsSelectedProperty IsSelectedProperty

Identifies the IsSelected dependency property.

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

The identifier for the IsSelected dependency property.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)