Click or drag to resize
WpfEventToSoEventGetMouseWheelEvent Method
Returns an SoMouseWheelEvent corresponding to given parameters.

Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreas
Assembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 2025.1.0.Release.2a081733c801ebf47c3d8b921bce5efef34a062d
Syntax
public static SoMouseWheelEvent GetMouseWheelEvent(
	MouseWheelEventArgs e,
	FrameworkElement relativeTo
)

Parameters

e
Type: System.Windows.InputMouseWheelEventArgs
MouseWheelEventArgs 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: SoMouseWheelEvent
The corresponding SoMouseWheelEvent.
See Also