diff --git a/samples/ControlCatalog.NetCore/ControlCatalog.NetCore.csproj b/samples/ControlCatalog.NetCore/ControlCatalog.NetCore.csproj
index 2d4fc45171..2ec455c95b 100644
--- a/samples/ControlCatalog.NetCore/ControlCatalog.NetCore.csproj
+++ b/samples/ControlCatalog.NetCore/ControlCatalog.NetCore.csproj
@@ -10,6 +10,7 @@
+
diff --git a/samples/ControlCatalog/Pages/TextBlockPage.xaml b/samples/ControlCatalog/Pages/TextBlockPage.xaml
index 9998a20d42..9521d2d836 100644
--- a/samples/ControlCatalog/Pages/TextBlockPage.xaml
+++ b/samples/ControlCatalog/Pages/TextBlockPage.xaml
@@ -1,6 +1,11 @@
+
A control that can display text
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -55,6 +76,7 @@
+
@@ -110,6 +132,7 @@
+
diff --git a/samples/ControlCatalog/Pages/TextBlockPage.xaml.cs b/samples/ControlCatalog/Pages/TextBlockPage.xaml.cs
index 49fecbe7c5..f2e19d1273 100644
--- a/samples/ControlCatalog/Pages/TextBlockPage.xaml.cs
+++ b/samples/ControlCatalog/Pages/TextBlockPage.xaml.cs
@@ -1,5 +1,8 @@
+using System;
using Avalonia.Controls;
+using Avalonia.Controls.Presenters;
using Avalonia.Markup.Xaml;
+using Avalonia.Threading;
namespace ControlCatalog.Pages
{
@@ -8,6 +11,24 @@ namespace ControlCatalog.Pages
public TextBlockPage()
{
this.InitializeComponent();
+
+ var txtChanging = this.Get("txtChanging");
+ var tpChanging = this.Get("tpChanging");
+
+ void update()
+ {
+ var time = DateTime.Now.TimeOfDay.ToString();
+ txtChanging.Text = $"TextBlock: {time}";
+ tpChanging.Text = $"TextPresenter: {time}";
+ }
+ var btn = this.Get