Interface ILabelStyle
Interface for Forms9Patch Label styling
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public interface ILabelStyle : IFontElement
Properties
AutoFit
Label's AutoFit algorithm
Declaration
AutoFit AutoFit { get; set; }
Property Value
| Type | Description |
|---|---|
| AutoFit |
HorizontalTextAlignment
Label's horizontal alignment
Declaration
TextAlignment HorizontalTextAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignment |
LineBreakMode
Label's line break mode
Declaration
LineBreakMode LineBreakMode { get; set; }
Property Value
| Type | Description |
|---|---|
| LineBreakMode |
Lines
Manual override for number of lines to AutoFit or truncate
Declaration
int Lines { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
MinFontSize
Lower limit of AutoFit font size
Declaration
double MinFontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
TextColor
Color of label's text
Declaration
Color TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
VerticalTextAlignment
Labe's vertical alignment
Declaration
TextAlignment VerticalTextAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignment |