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