Skip to content

Commit

Permalink
feat: Implement ListPickerFlyoutPresenterAutomationPeer
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 d28a0f7 commit db69ab1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ListPickerFlyoutPresenterAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
{
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false
internal ListPickerFlyoutPresenterAutomationPeer()
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// MUX Reference ListPickerFlyoutPresenterAutomationPeer_Partial.cpp, tag winui3/release/1.4.2
namespace Microsoft.UI.Xaml.Automation.Peers;

/// <summary>
/// Exposes ListPickerFlyoutPresenter types to Microsoft UI Automation.
/// </summary>
public partial class ListPickerFlyoutPresenterAutomationPeer : FrameworkElementAutomationPeer
{
internal ListPickerFlyoutPresenterAutomationPeer()
{

}

protected override string GetClassNameCore() => nameof(Controls.ListPickerFlyoutPresenter);

protected override AutomationControlType GetAutomationControlTypeCore()
=> AutomationControlType.Pane;

protected override string GetNameCore()
{
//UNO TODO: FindStringResource
//IFC(Private::FindStringResource(
//UIA_AP_LISTPICKERFLYOUT_NAME,
//returnValue));
return base.GetNameCore();
}
}

0 comments on commit db69ab1

Please sign in to comment.