ListColumnStyle.cs 721 B

1234567891011121314151617
  1. namespace Terminal.Gui;
  2. /// <summary>Defines rendering options that affect how the view is displayed.</summary>
  3. public class ListColumnStyle
  4. {
  5. /// <summary>
  6. /// Gets or sets an Orientation enum indicating whether to populate data down each column rather than across each
  7. /// row. Defaults to <see cref="Orientation.Horizontal"/>.
  8. /// </summary>
  9. public Orientation Orientation { get; set; } = Orientation.Horizontal;
  10. /// <summary>
  11. /// Gets or sets a flag indicating whether to scroll in the same direction as
  12. /// <see cref="ListColumnStyle.Orientation"/> . Defaults to <see langword="false"/>.
  13. /// </summary>
  14. public bool ScrollParallel { get; set; } = false;
  15. }