From 1028df480abfed76e0464c30f6e6df56f9b529a4 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Thu, 28 Mar 2024 23:20:11 +0100 Subject: [PATCH] feat: Internally implement `TextAdapter` --- src/Uno.UI/DirectUI/TextAdapter.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Uno.UI/DirectUI/TextAdapter.cs diff --git a/src/Uno.UI/DirectUI/TextAdapter.cs b/src/Uno.UI/DirectUI/TextAdapter.cs new file mode 100644 index 000000000000..87f3985d93c9 --- /dev/null +++ b/src/Uno.UI/DirectUI/TextAdapter.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. +// MUX Reference TextAdapter_Partial.cpp, tag winui3/release/1.5-stable + +using Microsoft.UI.Xaml.Controls; + +namespace Uno.UI.DirectUI; + +internal class TextAdapter +{ + public TextBlock Owner { get; } + + public TextAdapter(TextBlock owner) + { + Owner = owner; + } +}