Class TextBoxWidget
Widget displaying text in a box
Inheritance
TextBoxWidget
Implements
Inherited Members
Namespace: Mapsui.Widgets.BoxWidgets
Assembly: Mapsui.dll
Syntax
public class TextBoxWidget : BoxWidget, IWidget
Properties
| Edit this page View SourcePadding
Padding for left, top, right and bottom for text inside the Widget
Declaration
public MRect Padding { get; set; }
Property Value
| Type | Description |
|---|---|
| MRect |
Text
Text inside of box
Declaration
public string? Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TextColor
Text color of text inside of box
Declaration
public Color TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
TextSize
Font size of text inside of box
Declaration
public double TextSize { get; set; }
Property Value
| Type | Description |
|---|---|
| double |