#nullable enable
namespace Terminal.Gui;
// TODO: FrameView is mis-named, really. It's far more about it being a TabGroup than a frame.
///
/// A non-overlapped container for other views with a border and optional title.
///
///
///
/// FrameView has set to and
/// inherits it's color scheme from the .
///
///
///
///
///
///
public class FrameView : View
{
///
/// Initializes a new instance of the class.
/// layout.
///
public FrameView ()
{
CanFocus = true;
TabStop = TabBehavior.TabGroup;
BorderStyle = DefaultBorderStyle;
}
///
/// The default for 's border. The default is
/// .
///
///
/// This property can be set in a Theme to change the default for all
/// s.
///
[SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
public static LineStyle DefaultBorderStyle { get; set; } = LineStyle.Single;
}