Search Results for

    Show / Hide Table of Contents

    Class TableView.SelectedCellChangedEventArgs

    Defines the event arguments for SelectedCellChanged
    Inheritance
    object
    EventArgs
    TableView.SelectedCellChangedEventArgs
    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 TableView.SelectedCellChangedEventArgs : EventArgs

    Constructors

    | Edit this page View Source

    SelectedCellChangedEventArgs(DataTable, int, int, int, int)

    Creates a new instance of arguments describing a change in selected cell in a TableView
    Declaration
    public SelectedCellChangedEventArgs(DataTable t, int oldCol, int newCol, int oldRow, int newRow)
    Parameters
    Type Name Description
    DataTable t
    int oldCol
    int newCol
    int oldRow
    int newRow

    Properties

    | Edit this page View Source

    NewCol

    The newly selected column index.
    Declaration
    public int NewCol { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    NewRow

    The newly selected row index.
    Declaration
    public int NewRow { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    OldCol

    The previous selected column index. May be invalid e.g. when the selection has been changed as a result of replacing the existing Table with a smaller one
    Declaration
    public int OldCol { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    OldRow

    The previous selected row index. May be invalid e.g. when the selection has been changed as a result of deleting rows from the table
    Declaration
    public int OldRow { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Table

    The current table to which the new indexes refer. May be null e.g. if selection change is the result of clearing the table from the view
    Declaration
    public DataTable Table { get; }
    Property Value
    Type Description
    DataTable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX