Click or drag to resize

MouseOptionsSetHandledButtons Method

Sets whether the specified MouseButtons will be handled or not. To turn off mouse handling for all buttons, you can 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: 24.1.418.0 (24.1.418.0)
public void SetHandledButtons(
	MouseButtons buttons,
	bool value


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