diff --git a/src/Avalonia.Controls/Presenters/ContentPresenter.cs b/src/Avalonia.Controls/Presenters/ContentPresenter.cs
index 996cb29534..12a8dd747d 100644
--- a/src/Avalonia.Controls/Presenters/ContentPresenter.cs
+++ b/src/Avalonia.Controls/Presenters/ContentPresenter.cs
@@ -52,67 +52,67 @@ namespace Avalonia.Controls.Presenters
///
/// Defines the property.
///
- public static readonly AttachedProperty ForegroundProperty =
+ public static readonly StyledProperty ForegroundProperty =
TextElement.ForegroundProperty.AddOwner();
///
/// Defines the property.
///
- public static readonly AttachedProperty FontFamilyProperty =
+ public static readonly StyledProperty FontFamilyProperty =
TextElement.FontFamilyProperty.AddOwner();
///
/// Defines the property.
///
- public static readonly AttachedProperty FontSizeProperty =
+ public static readonly StyledProperty FontSizeProperty =
TextElement.FontSizeProperty.AddOwner();
///
/// Defines the property.
///
- public static readonly AttachedProperty FontStyleProperty =
+ public static readonly StyledProperty FontStyleProperty =
TextElement.FontStyleProperty.AddOwner();
///
/// Defines the property.
///
- public static readonly AttachedProperty FontWeightProperty =
+ public static readonly StyledProperty FontWeightProperty =
TextElement.FontWeightProperty.AddOwner();
///
/// Defines the property.
///
- public static readonly AttachedProperty FontStretchProperty =
+ public static readonly StyledProperty FontStretchProperty =
TextElement.FontStretchProperty.AddOwner();
///
/// Defines the property
///
- public static readonly AttachedProperty TextAlignmentProperty =
+ public static readonly StyledProperty TextAlignmentProperty =
TextBlock.TextAlignmentProperty.AddOwner();
///
/// Defines the property
///
- public static readonly AttachedProperty TextWrappingProperty =
+ public static readonly StyledProperty TextWrappingProperty =
TextBlock.TextWrappingProperty.AddOwner();
///
/// Defines the property
///
- public static readonly AttachedProperty TextTrimmingProperty =
+ public static readonly StyledProperty TextTrimmingProperty =
TextBlock.TextTrimmingProperty.AddOwner();
///
/// Defines the property
///
- public static readonly AttachedProperty LineHeightProperty =
+ public static readonly StyledProperty LineHeightProperty =
TextBlock.LineHeightProperty.AddOwner();
///
/// Defines the property
///
- public static readonly AttachedProperty MaxLinesProperty =
+ public static readonly StyledProperty MaxLinesProperty =
TextBlock.MaxLinesProperty.AddOwner();
///