TextBlock
BackgroundProperty
BaselineOffsetProperty
FontFamilyProperty
FontSizeProperty
FontStretchProperty
FontStyleProperty
FontWeightProperty
ForegroundProperty
IsHyphenationEnabledProperty
LineHeightProperty
LineStackingStrategyProperty
PaddingProperty
TextAlignmentProperty
TextDecorationsProperty
TextEffectsProperty
TextProperty
TextTrimmingProperty
TextWrappingProperty
TextBlock()
TextBlock(Inline)
Background
BaselineOffset
BreakAfter
BreakBefore
ContentEnd
ContentStart
FontFamily
FontSize
FontStretch
FontStyle
FontWeight
Foreground
HostedElementsCore
Inlines
IsHyphenationEnabled
LineHeight
LineStackingStrategy
LogicalChildren
Padding
Text
TextAlignment
TextDecorations
TextEffects
TextTrimming
TextWrapping
Typography
VisualChildrenCount
ArrangeOverride(Size)
GetBaselineOffset(DependencyObject)
GetFontFamily(DependencyObject)
GetFontSize(DependencyObject)
GetFontStretch(DependencyObject)
GetFontStyle(DependencyObject)
GetFontWeight(DependencyObject)
GetForeground(DependencyObject)
GetLineHeight(DependencyObject)
GetLineStackingStrategy(DependencyObject)
GetPositionFromPoint(Point, Boolean)
GetRectanglesCore(ContentElement)
GetTextAlignment(DependencyObject)
GetVisualChild(Int32)
HitTestCore(PointHitTestParameters)
InputHitTestCore(Point)
MeasureOverride(Size)
OnChildDesiredSizeChangedCore(UIElement)
OnCreateAutomationPeer()
OnPropertyChanged(DependencyPropertyChangedEventArgs)
OnRender(DrawingContext)
SetBaselineOffset(DependencyObject, Double)
SetFontFamily(DependencyObject, FontFamily)
SetFontSize(DependencyObject, Double)
SetFontStretch(DependencyObject, FontStretch)
SetFontStyle(DependencyObject, FontStyle)
SetFontWeight(DependencyObject, FontWeight)
SetForeground(DependencyObject, Brush)
SetLineHeight(DependencyObject, Double)
SetLineStackingStrategy(DependencyObject, LineStackingStrategy)
SetTextAlignment(DependencyObject, TextAlignment)
ShouldSerializeBaselineOffset()
ShouldSerializeInlines(XamlDesignerSerializationManager)
ShouldSerializeText()
net9.0-windows10.0.22621
namespace System.Windows.Controls
{
[ContentProperty("Inlines")]
[Localizability(LocalizationCategory.Text)]
public class TextBlock : FrameworkElement, IServiceProvider, IContentHost, IAddChild
{
[Localizability(LocalizationCategory.None)]
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
}
}
NetFx Compat Lab | 28.3 %
Reference this API 20.7 %
Get property 21.7 %
Set property |
---|---|
nuget.org | 0.3 %
Reference this API 0.1 %
Get property 0.2 %
Set property |
Upgrade Planner | 0.4 %
Reference this API 0.2 %
Get property 0.3 %
Set property |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | PresentationFramework , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs to set |
Platform Restrictions | The property getter is only supported on the following platforms:
The property setter is only supported on the following platforms:
|
- Built-in API
- Package-provided API