DimPercentMode.cs 458 B

12345678910111213141516171819
  1. namespace Terminal.Gui;
  2. /// <summary>
  3. /// Indicates the mode for a <see cref="DimPercent"/> object.
  4. /// </summary>
  5. public enum DimPercentMode
  6. {
  7. /// <summary>
  8. /// The dimension is computed using the View's position (<see cref="View.X"/> or <see cref="View.Y"/>).
  9. /// </summary>
  10. Position = 0,
  11. /// <summary>
  12. /// The dimension is computed using the View's <see cref="View.GetContentSize ()"/>.
  13. /// </summary>
  14. ContentSize = 1
  15. }