ListColumnStyle.cs 686 B

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