#nullable enable using System.ComponentModel; namespace Terminal.Gui; public partial class View { /// Selects the specified attribute as the attribute to use for future calls to AddRune and AddString. /// /// THe Attribute to set. public Attribute SetAttribute (Attribute attribute) { return Driver?.SetAttribute (attribute) ?? Attribute.Default; } /// Gets the current . /// The current attribute. public Attribute GetAttribute () { return Driver?.GetAttribute () ?? Attribute.Default; } }