namespace Terminal.Gui;
///
/// Specifies how will compute the dimension.
///
[Flags]
public enum DimAutoStyle
{
///
/// The dimensions will be computed based on the View's and/or .
///
/// If is , 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 = 1,
///
///
/// The corresponding dimension of the view's , formatted using the
/// settings,
/// will be used to determine the dimension.
///
///
/// The corresponding dimensions of and/or will be ignored.
///
///
/// If is set, the dimension will be the maximum of the formatted text and the
/// demension provided by . Otherwise, the dimension will be that of the formatted text.
///
///
Text = 2,
///
/// The dimension will be computed using the largest of the view's , , and
/// corresponding dimension
///
Auto = Content | Text,
}