Class TabView.TabMouseEventArgs
Describes a mouse event over a specific TabView.Tab in a TabView.
Inheritance
System.Object
System.EventArgs
TabView.TabMouseEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TabMouseEventArgs : EventArgs
Constructors
| Improve this Doc View SourceTabMouseEventArgs(TabView.Tab, MouseEvent)
Creates a new instance of the TabView.TabMouseEventArgs class.
Declaration
public TabMouseEventArgs(TabView.Tab tab, MouseEvent mouseEvent)
Parameters
Type | Name | Description |
---|---|---|
TabView.Tab | tab | TabView.Tab that the mouse was over when the event occurred. |
MouseEvent | mouseEvent | The mouse activity being reported |
Properties
| Improve this Doc View SourceMouseEvent
Gets the actual mouse event. Use Handled to cancel this event
and perform custom behavior (e.g. show a context menu).
Declaration
public MouseEvent MouseEvent { get; }
Property Value
Type | Description |
---|---|
MouseEvent |
Tab
Gets the TabView.Tab (if any) that the mouse
was over when the MouseEvent occurred.
Declaration
public TabView.Tab Tab { get; }
Property Value
Type | Description |
---|---|
TabView.Tab |