In This Article

EmbeddedListBoxItem Class

Represents an EmbeddedListBox item.

public class EmbeddedListBoxItem : ListBoxItem
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl ListBoxItem object

Constructors

EmbeddedListBoxItem()

Initializes an instance of the class.

public EmbeddedListBoxItem()

Methods

OnMouseLeftButtonDown(MouseButtonEventArgs)

Called when the user presses the right mouse button over the ListBoxItem.

protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameter Type Description
e MouseButtonEventArgs

The event data.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameter Type Description
e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.

Extension Methods