Skip to content

Commit

Permalink
chore: Update RichEditBoxAutomationPeer
Browse files Browse the repository at this point in the history
  • Loading branch information
morning4coffe-dev authored and MartinZikmund committed Jun 17, 2024
1 parent 1028df4 commit 0dcdd4d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Uno.UI/UI/Xaml/Automation/Peers/RichEditBoxAutomationPeer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// 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
// MUX Reference RichEditBoxAutomationPeer_Partial.cpp, tag winui3/release/1.5-stable
using System.Collections.Generic;
using Uno.UI.DirectUI;

namespace Microsoft.UI.Xaml.Automation.Peers;

Expand All @@ -22,11 +23,8 @@ protected override AutomationControlType GetAutomationControlTypeCore()
protected override IEnumerable<AutomationPeer> GetDescribedByCore()
{
var owner = Owner as Controls.RichEditBox;
TextBoxPlaceholderTextHelper.SetupPlaceholderTextBlockDescribedBy(owner);

//IFC_RETURN(get_Owner(spOwner.GetAddressOf()));

//IFC_RETURN(TextBoxPlaceholderTextHelper::SetupPlaceholderTextBlockDescribedBy(spOwner));

//IFC_RETURN(GetAutomationPeerCollection(UIAXcp::APDescribedByProperty, returnValue));
return GetAutomationPeerCollection(AutomationProperties.DescribedByProperty);
}
}

0 comments on commit 0dcdd4d

Please sign in to comment.