SpacingMode.cs 907 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GeekDesk.CustomComponent.VirtualizingWrapPanel
  7. {
  8. public enum SpacingMode
  9. {
  10. /// <summary>
  11. /// Spacing is disabled and all items will be arranged as closely as possible.
  12. /// </summary>
  13. None,
  14. /// <summary>
  15. /// The remaining space is evenly distributed between the items on a layout row, as well as the start and end of each row.
  16. /// </summary>
  17. Uniform,
  18. /// <summary>
  19. /// The remaining space is evenly distributed between the items on a layout row, excluding the start and end of each row.
  20. /// </summary>
  21. BetweenItemsOnly,
  22. /// <summary>
  23. /// The remaining space is evenly distributed between start and end of each row.
  24. /// </summary>
  25. StartAndEndOnly
  26. }
  27. }