C# Class Open.Core.MouseExtensions

Mostrar archivo Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
IsMouseWithin ( this e, FrameworkElement element ) : bool

Determines whether the mouse is currently within the bounds of the given element.

Method Details

IsMouseWithin() public static method

Determines whether the mouse is currently within the bounds of the given element.
public static IsMouseWithin ( this e, FrameworkElement element ) : bool
e this The event args returned from a mouse event (eg. MouseLeftButtonUp)
element System.Windows.FrameworkElement The element to examine.
return bool