Search Results for

    Show / Hide Table of Contents

    Class TabView.TabMouseEventArgs

    Describes a mouse event over a specific TabView.Tab in a TabView.
    Inheritance
    object
    EventArgs
    TabView.TabMouseEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Terminal.Gui
    Assembly: Terminal.Gui.dll
    Syntax
    public class TabView.TabMouseEventArgs : EventArgs

    Constructors

    | Edit this page View Source

    TabMouseEventArgs(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

    | Edit this page View Source

    MouseEvent

    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
    | Edit this page View Source

    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
    Remarks
    This will be null if the click is after last tab or before first.
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX