TextBlock class
이 콘텐츠는 아직 번역되지 않았습니다.
Lightweight text element (WPF-like) that does not carry full Control features. Inherits ForegroundProperty, FontFamilyProperty, FontSizeProperty, and FontWeightProperty so that inherited values propagate naturally from parent controls without style-target interference.
Guide: C# Markup reference: Text
public class TextBlock : TextBlockBasePublic Members
Section titled “Public Members”| name | description |
|---|---|
| TextBlock() | The default constructor. |
| Inlines { get; } | Gets the styled runs that make up the content. Runs take precedence over a directly assigned Text, which then reports their concatenated text. |
| Text { get; set; } | Gets or sets the text content; setting it replaces Inlines, and while runs are present the value is their concatenated text. |
| static readonly TextProperty |
See Also
Section titled “See Also”- class TextBlockBase
- namespace Aprillz.MewUI.Controls