TextElement class
Base class for elements that carry font and foreground text-color properties.
Guide: C# Markup reference: Element
public abstract class TextElement : FrameworkElementPublic Members
Section titled “Public Members”| name | description |
|---|---|
| FontFamily { get; set; } | Gets or sets the font family; an empty value follows the theme’s font family. |
| FontSize { get; set; } | Gets or sets the font size. |
| FontStyle { get; set; } | Gets or sets the font style, which selects the family’s italic face. |
| FontWeight { get; set; } | Gets or sets the font weight. |
| Foreground { get; set; } | Gets or sets the foreground (text) color. |
| static readonly FontFamilyProperty | The font family; an empty value follows the theme’s font family, and it is inherited by descendants. |
| static readonly FontSizeProperty | The font size; inherited by descendants. |
| static readonly FontStyleProperty | The font style; inherited by descendants. |
| static readonly FontWeightProperty | The font weight; inherited by descendants. |
| static readonly ForegroundProperty | The text color; inherited by descendants. |
See Also
Section titled “See Also”- class FrameworkElement
- namespace Aprillz.MewUI.Controls