Class LabelWidgetBuilder
A recyclable widget builder for building text labels.
Implements
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class LabelWidgetBuilder : IRecyclableWidgetBuilder
Properties
FontSize
Gets or sets an optional font size. If no value is specified, the font size of the current UI skin will be used.
Declaration
public int FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Text
Gets or sets the text to display in the label.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Build()
Create a RecyclableWidgetController based on this widget builder's properties.
Declaration
public RecyclableWidgetController Build()
Returns
| Type | Description |
|---|---|
| RecyclableWidgetController | A new instance of RecyclableWidgetController. |