Class SelectorItem
Provides a base class for ListBoxItem, ComboBoxItem, or potentially for other item types.
Inheritance
System.Object
SelectorItem
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 class SelectorItem : ContentControl
Constructors
| Improve this Doc View SourceSelectorItem()
Provides base class initialization behavior for SelectorItem-derived classes.
Declaration
protected SelectorItem()
Fields
| Improve this Doc View SourceIsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceIsSelected
Gets or sets a value that indicates whether the item is selected in a selector.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |