diff --git a/InteractiveAutomationToolkit/Components/Label.cs b/InteractiveAutomationToolkit/Components/Label.cs index 7da3508..7eb23c5 100644 --- a/InteractiveAutomationToolkit/Components/Label.cs +++ b/InteractiveAutomationToolkit/Components/Label.cs @@ -85,6 +85,22 @@ public string Tooltip } } + /// + /// Gets or sets a value indicating whether this label is multiline, meaning that it can display multiple lines of text. + /// + public bool IsMultiline + { + get + { + return BlockDefinition.IsMultiline; + } + + set + { + BlockDefinition.IsMultiline = value; + } + } + private static string StyleToUiString(TextStyle textStyle) { switch (textStyle)