Class View.MouseEventArgs
Specifies the event arguments for MouseEvent. This is a higher-level construct
than the wrapped MouseEvent class and is used for the events defined on View
and subclasses of View (e.g. MouseEnter and MouseClick).
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class View.MouseEventArgs : EventArgs
Constructors
| Edit this page View SourceMouseEventArgs(MouseEvent)
Constructs.
Declaration
public MouseEventArgs(MouseEvent me)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseEvent | me |
Properties
| Edit this page View SourceHandled
Indicates if the current mouse event has already been processed and the driver should stop notifying any other event subscriber.
Its important to set this value to true specially when updating any View's layout from inside the subscriber method.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
This property forwards to the Handled property and is provided as a convenience and for
backwards compatibility
|
Edit this page
View Source
MouseEvent
The MouseEvent for the event.
Declaration
public MouseEvent MouseEvent { get; set; }
Property Value
| Type | Description |
|---|---|
| MouseEvent |