Click or drag to resize

MouseOptions.SetHandledButtons Method

Sets whether the specified MouseButtons will be handled or not. To turn off mouse handling for all buttons, set the AutoHandleMouse property to false. The MouseButtons enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public void SetHandledButtons(
	MouseButtons buttons,
	bool value
)

Parameters

buttons
Type: System.Windows.Forms.MouseButtons
The MouseButtons bits to set.
value
Type: System.Boolean
true to set the specified buttons to be handled; otherwise, false.
See Also