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: 24.3.420.0 (24.3.420.0)
Syntax public 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