namespace Terminal.Gui;
/// Describes a selected region of the table
public class TableSelection
{
/// Creates a new selected area starting at the origin corner and covering the provided rectangular area
///
///
public TableSelection (Point origin, Rectangle rect)
{
Origin = origin;
Rectangle = rect;
}
///
/// True if the selection was made through and therefore should persist even
/// through keyboard navigation.
///
public bool IsToggled { get; set; }
/// Corner of the where selection began
///
public Point Origin { get; set; }
/// Area selected
///
public Rectangle Rectangle { get; set; }
}