Method DisableMouseHorizontalWheelSupport
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
DisableMouseHorizontalWheelSupport(IntPtr)
Disable Horizontal Wheel support for all the controls inside the HWND. This method does not need to be called in most cases. This does not include popups or sub-context menus. If it was already disabled it will do nothing.
public static bool DisableMouseHorizontalWheelSupport(IntPtr handle)
Parameters
handle
IntPtrHWND handle to disable support for.
Returns
- bool
True if it was disabled or already disabled, false if it couldn't be disabled.
DisableMouseHorizontalWheelSupport(Window)
Disable Horizontal Wheel support for all the controls inside the window. This method does not need to be called in most cases. This does not include popups or sub-context menus. If it was already disabled it will do nothing.
public static bool DisableMouseHorizontalWheelSupport(Window window)
Parameters
window
WindowWindow to disable support for.
Returns
- bool
True if it was disabled or already disabled, false if it couldn't be disabled.
DisableMouseHorizontalWheelSupport(Popup)
Disable Horizontal Wheel support for all the controls inside the popup. This method does not need to be called in most cases. This does not include popups or sub-context menus. If it was already disabled it will do nothing.
public static bool DisableMouseHorizontalWheelSupport(Popup popup)
Parameters
popup
PopupPopup to disable support for.
Returns
- bool
True if it was disabled or already disabled, false if it couldn't be disabled.
DisableMouseHorizontalWheelSupport(ContextMenu)
Disable Horizontal Wheel support for all the controls inside the context menu. This method does not need to be called in most cases. This does not include popups or sub-context menus. If it was already disabled it will do nothing.
public static bool DisableMouseHorizontalWheelSupport(ContextMenu contextMenu)
Parameters
contextMenu
ContextMenuContext menu to disable support for.
Returns
- bool
True if it was disabled or already disabled, false if it couldn't be disabled.