Table of Contents

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 IntPtr

HWND 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 Window

Window 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 Popup

Popup 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 ContextMenu

Context menu to disable support for.

Returns

bool

True if it was disabled or already disabled, false if it couldn't be disabled.