EnableMouseHorizontalWheelSupport Method
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.
Declaration
public static void EnableMouseHorizontalWheelSupport(Window window)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Window | window | Window 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.
Declaration
public static void EnableMouseHorizontalWheelSupport(Popup popup)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Primitives.Popup | popup | Popup 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.
Declaration
public static void EnableMouseHorizontalWheelSupport(ContextMenu contextMenu)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContextMenu | contextMenu | Context 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.
Declaration
public static bool EnableMouseHorizontalWheelSupport(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle | HWND handle to enable support for. |
Returns
Type | Description |
---|---|
System.Boolean | True if it was enabled or already enabled, false if it couldn't be enabled. |