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