I use mouse events in Script# with ElementEvent argument.
But I can not find WheelDelta property in this argument for onmousewheel event.
How is it possible to use this property?
I use mouse events in Script# with ElementEvent argument. But I can not find
Share
I solved my problem by introducing following type and method (using Script# 0.7.5):
And in
onmousewheelevent I just pasteGlobal.WheelDeltawhere I wanna access to wheelDelta.For more latest releases of Script# (>= 0.8) one should replace
ImportedwithScriptImportandIntrinsicPropertywithScriptField.