MouseOptionsSetHandledButtons 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)
Syntaxpublic void SetHandledButtons(
	MouseButtons buttons,
	bool value
)
Public Sub SetHandledButtons ( 
	buttons As MouseButtons,
	value As Boolean
)
public:
void SetHandledButtons(
	MouseButtons buttons, 
	bool value
)
member SetHandledButtons : 
        buttons : MouseButtons * 
        value : bool -> unit 
Parameters
- buttons
 - Type: System.Windows.FormsMouseButtons
The MouseButtons bits to set. - value
 - Type: SystemBoolean
true to set the specified buttons to be handled; otherwise, false. 
See Also