WpfEventToSoEventGetMouseButtonEvent Method |
Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreasAssembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 10.12.3.0.Release.03fa3fc14f5d05a3007fab6bc6264244021464bb
Syntax public static SoMouseButtonEvent GetMouseButtonEvent(
MouseButtonEventArgs e,
FrameworkElement relativeTo
)
Public Shared Function GetMouseButtonEvent (
e As MouseButtonEventArgs,
relativeTo As FrameworkElement
) As SoMouseButtonEvent
public:
static SoMouseButtonEvent^ GetMouseButtonEvent(
MouseButtonEventArgs^ e,
FrameworkElement^ relativeTo
)
static member GetMouseButtonEvent :
e : MouseButtonEventArgs *
relativeTo : FrameworkElement -> SoMouseButtonEvent
Parameters
- e
- Type: System.Windows.InputMouseButtonEventArgs
MouseButtonEventArgs which contains the event's data. - relativeTo
- Type: System.WindowsFrameworkElement
The coordinate space in which to calculate the position of the mouse.
Return Value
Type:
SoMouseButtonEventThe corresponding
SoMouseButtonEvent.
See Also