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

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

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:

Properties summary

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

Identifies the IsSelected dependency property.

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 bool
    <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 DependencyProperty

    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.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll