Class UIParagraph
Represents a paragraph of text.
Inherited Members
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class UIParagraph : UIComponent
Constructors
UIParagraph(String)
Create a new UIParagraph.
Declaration
public UIParagraph(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The text in this UIParagraph |
Properties
AlignToCenter
Whether the text inside this UIParagraph should be center-aligned.
Declaration
public bool AlignToCenter { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FontStyle
The font style of this UIParagraph
Declaration
public UIFontStyle FontStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| UIFontStyle |
Text
The text in this UIParagraph
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Wrap
Whether the text in this UIParagraph should wrap
Declaration
public bool Wrap { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |