Click or drag to resize
WpfEventToSoEventGetMouseButtonEvent Method
Returns an SoMouseButtonEvent corresponding to given parameters.

Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreas
Assembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 9.9.36.0.Release.9ccfd3bbc2107cdc777d2df63e465939c35454c1
Syntax
public static SoMouseButtonEvent GetMouseButtonEvent(
	MouseButtonEventArgs e,
	FrameworkElement relativeTo
)

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: SoMouseButtonEvent
The corresponding SoMouseButtonEvent.
See Also