123456789101112131415161718192021 |
- using Terminal.Gui.Analyzers.Internal.Attributes;
- namespace Terminal.Gui;
- /// <summary>
- /// Indicates the mode for a <see cref="DimPercent"/> object.
- /// </summary>
- [GenerateEnumExtensionMethods]
- public enum DimPercentMode
- {
- /// <summary>
- /// The dimension is computed using the View's position (<see cref="View.X"/> or <see cref="View.Y"/>).
- /// </summary>
- Position = 0,
- /// <summary>
- /// The dimension is computed using the View's <see cref="View.ContentSize"/>.
- /// </summary>
- ContentSize = 1
- }
|