SelectorItem SelectorItem SelectorItem Class

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

Syntax

Declaration

public class SelectorItempublic class SelectorItemPublic Class SelectorItem

Inheritance Hierarchy

Inherited Members

Inherited properties

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Tag
Tag
Tag
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

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 summary

Provides base class initialization behavior for SelectorItem -derived classes.

Properties summary

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

Identifies the IsSelected dependency property.

Constructors

  • SelectorItem()
    SelectorItem()
    SelectorItem()
    SelectorItem()

    Provides base class initialization behavior for SelectorItem -derived classes.

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

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" />
    

    Property Value

    • bool
      bool
      bool

      true if the item is selected; otherwise, false.

  • 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; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll