diff --git a/src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/RichEditBoxAutomationPeer.cs b/src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/RichEditBoxAutomationPeer.cs index fa1f876a7f49..e0d43068fe6e 100644 --- a/src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/RichEditBoxAutomationPeer.cs +++ b/src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/RichEditBoxAutomationPeer.cs @@ -3,12 +3,12 @@ #pragma warning disable 114 // new keyword hiding namespace Microsoft.UI.Xaml.Automation.Peers { -#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ +#if false [global::Uno.NotImplemented] #endif public partial class RichEditBoxAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer { -#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ +#if false [global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] public RichEditBoxAutomationPeer(global::Microsoft.UI.Xaml.Controls.RichEditBox owner) : base(owner) { diff --git a/src/Uno.UI/UI/Xaml/Automation/Peers/RichEditBoxAutomationPeer.cs b/src/Uno.UI/UI/Xaml/Automation/Peers/RichEditBoxAutomationPeer.cs new file mode 100644 index 000000000000..91bb9e9e19c6 --- /dev/null +++ b/src/Uno.UI/UI/Xaml/Automation/Peers/RichEditBoxAutomationPeer.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. +// MUX Reference RichEditBoxAutomationPeer_Partial.cpp, tag winui3/release/1.4.2 +using System.Collections.Generic; + +namespace Microsoft.UI.Xaml.Automation.Peers; + +/// +/// Exposes RichEditBox types to Microsoft UI Automation. +/// +public partial class RichEditBoxAutomationPeer : FrameworkElementAutomationPeer +{ + public RichEditBoxAutomationPeer(Controls.RichEditBox owner) : base(owner) + { + } + + protected override string GetClassNameCore() => nameof(Controls.RichEditBox); + + protected override AutomationControlType GetAutomationControlTypeCore() + => AutomationControlType.Edit; + + protected override IEnumerable GetDescribedByCore() + { + var owner = Owner as Controls.RichEditBox; + + //IFC_RETURN(get_Owner(spOwner.GetAddressOf())); + + //IFC_RETURN(TextBoxPlaceholderTextHelper::SetupPlaceholderTextBlockDescribedBy(spOwner)); + + //IFC_RETURN(GetAutomationPeerCollection(UIAXcp::APDescribedByProperty, returnValue)); + } +}