StandardTextAttributes Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a standard implementation of the ITextAttributes interface for styling text.
public ref class StandardTextAttributes : Microsoft::Maui::Graphics::ITextAttributes
public class StandardTextAttributes : Microsoft.Maui.Graphics.ITextAttributes
type StandardTextAttributes = class
interface ITextAttributes
Public Class StandardTextAttributes
Implements ITextAttributes
- Inheritance
-
StandardTextAttributes
- Implements
Constructors
| StandardTextAttributes() |
Properties
| Font |
Gets or sets the font used for rendering text. |
| FontSize |
Gets or sets the size of the font in points. |
| HorizontalAlignment |
Gets or sets the horizontal alignment of the text. |
| Margin |
Gets or sets the margin around the text. |
| TextFontColor |
Gets or sets the color of the text. |
| VerticalAlignment |
Gets or sets the vertical alignment of the text. |