WpfEventToSoEventGetMouseWheelEvent Method |
Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreasAssembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 2023.1.3.0.Release.5fd1c1ad27c99c06f73891d4218ee7122fbde35a
Syntax public static SoMouseWheelEvent GetMouseWheelEvent(
MouseWheelEventArgs e,
FrameworkElement relativeTo
)
Public Shared Function GetMouseWheelEvent (
e As MouseWheelEventArgs,
relativeTo As FrameworkElement
) As SoMouseWheelEvent
public:
static SoMouseWheelEvent^ GetMouseWheelEvent(
MouseWheelEventArgs^ e,
FrameworkElement^ relativeTo
)
static member GetMouseWheelEvent :
e : MouseWheelEventArgs *
relativeTo : FrameworkElement -> SoMouseWheelEvent
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:
SoMouseWheelEventThe corresponding
SoMouseWheelEvent.
See Also