Class ListBoxItem
Implements item for List Box
Inheritance
System.Object
ListBoxItem
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class ListBoxItem : ContentControl
Constructors
ListBoxItem()
Initializes a new instance of the ListBoxItem class.
Declaration
public ListBoxItem()
Fields
IsSelectedProperty
The selected items property
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedEvent
The selected event
Declaration
public static readonly RoutedEvent SelectedEvent
Field Value
Type | Description |
---|---|
RoutedEvent |
UnselectedEvent
The unselected event
Declaration
public static readonly RoutedEvent UnselectedEvent
Field Value
Type | Description |
---|---|
RoutedEvent |
Properties
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
OnMouseDown(MouseButtonEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
OnTouchGesture(TouchGestureEventArgs)
Raises the TouchGesture event.
Declaration
protected override void OnTouchGesture(TouchGestureEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
TouchGestureEventArgs | e | The TouchGestureEventArgs instance containing the event data. |
Overrides
Events
Selected
Occurs when [selected].
Declaration
public event RoutedEventHandler Selected
Event Type
Type | Description |
---|---|
RoutedEventHandler |
Unselected
Occurs when [unselected].
Declaration
public event RoutedEventHandler Unselected
Event Type
Type | Description |
---|---|
RoutedEventHandler |