using Terminal.Gui.Analyzers.Internal.Attributes;
namespace Terminal.Gui;
///
/// Specifies how will compute the dimension.
///
[Flags]
[GenerateEnumExtensionMethods (FastHasFlags = true)]
public enum DimAutoStyle
{
///
/// The dimensions will be computed based on the View's non-Text content.
///
/// If is explicitly set (is not ) then
///
/// will be used to determine the dimension.
///
///
/// Otherwise, the Subview in with the largest corresponding position plus dimension
/// will determine the dimension.
///
///
/// The corresponding dimension of the view's will be ignored.
///
///
Content = 0,
///
///
/// The corresponding dimension of the view's , formatted using the
/// settings,
/// will be used to determine the dimension.
///
///
/// The corresponding dimensions of the will be ignored.
///
///
Text = 1,
///
/// The dimension will be computed using both the view's and
/// (whichever is larger).
///
Auto = Content | Text,
}