namespace MonoGame.Extended.NuclexGui.Controls { /// Control that draws a block of text public class GuiLabelControl : GuiControl { /// Text to be rendered in the control's frame public string Text; /// /// Gets or sets the style to be used with this label when drawing. /// /// /// /// If you are using the FlatGuiVisualizer, this style /// corresponds to the 'Frames' used in /// /// The style can be customized in the skin's json file. /// /// public string Style { get; set; } /// Initializes a new label control with an empty string public GuiLabelControl() : this(string.Empty) { } /// Initializes a new label control /// Text to be printed at the location of the label control public GuiLabelControl(string text) { Text = text; } } }