Skip to content

Commit 2bf7a53

Browse files
Merge pull request #21518 from unoplatform/dev/mazi/automation-peer
feat: Improve automation peers coverage
2 parents 00b86e9 + 855043a commit 2bf7a53

File tree

153 files changed

+6157
-1491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+6157
-1491
lines changed

build/PackageDiffIgnore.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,6 +2142,30 @@
21422142
<Member fullName="Uno.UI.MediaPlayer.Skia.Win32.SharedMediaPlayerExtension" reason="Does not exist in WinUI" />
21432143
</Types>
21442144
</IgnoreSet>
2145+
<IgnoreSet baseVersion="6.5">
2146+
<Types>
2147+
<Member fullName="Microsoft.UI.Xaml.Controls.DropDownButtonAutomationPeer" reason="Moved to correct namespace Microsoft.UI.Xaml.Automation.Peers" />
2148+
<Member fullName="Microsoft.UI.Xaml.Controls.ExpanderAutomationPeer" reason="Moved to correct namespace Microsoft.UI.Xaml.Automation.Peers" />
2149+
<Member fullName="Microsoft.UI.Xaml.Controls.NumberBoxAutomationPeer" reason="Moved to correct namespace Microsoft.UI.Xaml.Automation.Peers" />
2150+
<Member fullName="Microsoft.UI.Xaml.Controls.ProgressRingAutomationPeer" reason="Moved to correct namespace Microsoft.UI.Xaml.Automation.Peers" />
2151+
<Member fullName="Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrumAutomationPeer" reason="Moved to correct namespace Microsoft.UI.Xaml.Automation.Peers" />
2152+
</Types>
2153+
2154+
<Methods>
2155+
<!-- BEGIN AutomationPeer API alignment -->
2156+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Microsoft.UI.Xaml.Automation.AutomationTextEditChangeType automationTextEditChangeType, System.Collections.Generic.IReadOnlyList`1&lt;System.String&gt; changedData)" reason="AP reorganization - API alignment" />
2157+
<Member fullName="Microsoft.UI.Xaml.Automation.Peers.RawElementProviderRuntimeId Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GenerateRawElementProviderRuntimeId()" reason="AP reorganization - API alignment" />
2158+
<Member fullName="System.Object Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetElementFromPointCore(Windows.Foundation.Point pointInWindowCoordinates)" reason="AP reorganization - API alignment" />
2159+
<Member fullName="Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer.FindItemByProperty(Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple startAfter, Microsoft.UI.Xaml.Automation.AutomationProperty automationProperty, System.Object value)" reason="AP reorganization - API alignment" />
2160+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer..ctor(Microsoft.UI.Xaml.FrameworkElement e)" reason="AP reorganization - constructor signature alignment" />
2161+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer..ctor(System.Object e)" reason="AP reorganization - constructor signature alignment" />
2162+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.ListViewBaseAutomationPeer..ctor(System.Object e)" reason="AP reorganization - constructor signature alignment" />
2163+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.ListViewBaseHeaderItemAutomationPeer..ctor(System.Object owner)" reason="AP reorganization - constructor signature alignment" />
2164+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.SelectorAutomationPeer..ctor(System.Object o)" reason="AP reorganization - constructor signature alignment" />
2165+
<Member fullName="System.Void Microsoft.UI.Xaml.Automation.Peers.TreeViewItemDataAutomationPeer..ctor(System.Object item, Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer parent)" reason="AP reorganization - constructor signature alignment" />
2166+
<!-- END AutomationPeer API alignment -->
2167+
</Methods>
2168+
</IgnoreSet>
21452169
<![CDATA[
21462170
The 'baseVersion' should be the current latest stable version published on nuget,
21472171
NOT what will be published by the PR in progress.

src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Accessibility/WebAssemblyAccessibility.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ private static bool TryGetPeerOwner(AutomationPeer peer, [NotNullWhen(true)] out
319319
return false;
320320
}
321321

322+
// TODO (DOTI): Added with macOS automation, maybe won't be needed for wasm
323+
public void NotifyAutomationEvent(AutomationPeer peer, AutomationEvents eventId) => throw new NotImplementedException();
324+
public void NotifyNotificationEvent(AutomationPeer peer, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId) => throw new NotImplementedException();
325+
322326
private static partial class NativeMethods
323327
{
324328
[JSImport("globalThis.Uno.UI.Runtime.Skia.Accessibility.addRootElementToSemanticsRoot")]

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ProgressBar.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ private class StubListener : IAutomationPeerListener
4747
public bool ListenerExistsHelper(AutomationEvents eventId) => true;
4848
public void NotifyPropertyChangedEvent(AutomationPeer peer, AutomationProperty automationProperty, object oldValue, object newValue) =>
4949
Notified = true;
50+
public void NotifyAutomationEvent(AutomationPeer peer, AutomationEvents eventId) => Notified = true;
51+
public void NotifyNotificationEvent(AutomationPeer peer, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId) => Notified = true;
5052
}
5153
#endif
5254
}

src/Uno.UI/Extensions/DependencyObjectExtensions.mux.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ internal static bool SetFocusedElementWithDirection(
7676
DependencyObject? pFocusedElement,
7777
FocusState focusState,
7878
bool animateIfBringIntoView,
79-
FocusNavigationDirection focusNavigationDirection,
80-
bool forceBringIntoView = false,
81-
InputActivationBehavior inputActivationBehavior = InputActivationBehavior.RequestActivation) // default to request activation to match legacy behavior
79+
FocusNavigationDirection focusNavigationDirection,
80+
bool forceBringIntoView = false,
81+
Uno.UI.Xaml.Input.InputActivationBehavior inputActivationBehavior = Uno.UI.Xaml.Input.InputActivationBehavior.RequestActivation) // default to request activation to match legacy behavior
8282
{
8383
return FocusManager.SetFocusedElementWithDirection(
8484
pFocusedElement,
8585
focusState,
8686
animateIfBringIntoView,
8787
forceBringIntoView,
8888
focusNavigationDirection,
89-
(inputActivationBehavior == InputActivationBehavior.RequestActivation));
89+
(inputActivationBehavior == Uno.UI.Xaml.Input.InputActivationBehavior.RequestActivation));
9090
}
9191

9292
/// <summary>

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/AnimatedVisualPlayerAutomationPeer.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@
33
#pragma warning disable 114 // new keyword hiding
44
namespace Microsoft.UI.Xaml.Automation.Peers
55
{
6-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
6+
#if false || false || false || false || false || false || false
77
[global::Uno.NotImplemented]
88
#endif
99
public partial class AnimatedVisualPlayerAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
1010
{
11-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
12-
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
13-
public AnimatedVisualPlayerAutomationPeer(global::Microsoft.UI.Xaml.Controls.AnimatedVisualPlayer owner) : base(owner)
14-
{
15-
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.AnimatedVisualPlayerAutomationPeer", "AnimatedVisualPlayerAutomationPeer.AnimatedVisualPlayerAutomationPeer(AnimatedVisualPlayer owner)");
16-
}
17-
#endif
11+
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AnimatedVisualPlayerAutomationPeer.AnimatedVisualPlayerAutomationPeer(Microsoft.UI.Xaml.Controls.AnimatedVisualPlayer)
1812
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.AnimatedVisualPlayerAutomationPeer.AnimatedVisualPlayerAutomationPeer(Microsoft.UI.Xaml.Controls.AnimatedVisualPlayer)
1913
}
2014
}

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/AutomationControlType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public enum AutomationControlType
4747
// Skipping already declared field Microsoft.UI.Xaml.Automation.Peers.AutomationControlType.Separator
4848
// Skipping already declared field Microsoft.UI.Xaml.Automation.Peers.AutomationControlType.SemanticZoom
4949
// Skipping already declared field Microsoft.UI.Xaml.Automation.Peers.AutomationControlType.AppBar
50-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
50+
#if false
5151
FlipView = 41,
5252
#endif
5353
}

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/AutomationPeer.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public partial class AutomationPeer : global::Microsoft.UI.Xaml.DependencyObject
5151
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetControlledPeers()
5252
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetAnnotations()
5353
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.SetParent(Microsoft.UI.Xaml.Automation.Peers.AutomationPeer)
54-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
54+
#if false
5555
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
5656
public void RaiseTextEditTextChangedEvent(global::Microsoft.UI.Xaml.Automation.AutomationTextEditChangeType automationTextEditChangeType, global::System.Collections.Generic.IReadOnlyList<string> changedData)
5757
{
@@ -61,7 +61,7 @@ public void RaiseTextEditTextChangedEvent(global::Microsoft.UI.Xaml.Automation.A
6161
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetPositionInSet()
6262
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetSizeOfSet()
6363
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetLevel()
64-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
64+
#if false
6565
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
6666
public void RaiseStructureChangedEvent(global::Microsoft.UI.Xaml.Automation.Peers.AutomationStructureChangeType structureChangeType, global::Microsoft.UI.Xaml.Automation.Peers.AutomationPeer child)
6767
{
@@ -73,7 +73,7 @@ public void RaiseStructureChangedEvent(global::Microsoft.UI.Xaml.Automation.Peer
7373
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsPeripheral()
7474
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsDataValidForForm()
7575
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetFullDescription()
76-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
76+
#if false
7777
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
7878
public int GetCulture()
7979
{
@@ -89,7 +89,7 @@ public void RaiseNotificationEvent(global::Microsoft.UI.Xaml.Automation.Peers.Au
8989
#endif
9090
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetHeadingLevel()
9191
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsDialog()
92-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
92+
#if false
9393
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
9494
protected global::Microsoft.UI.Xaml.Automation.Peers.AutomationPeer PeerFromProvider(global::Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple provider)
9595
{
@@ -139,21 +139,21 @@ public void RaiseNotificationEvent(global::Microsoft.UI.Xaml.Automation.Peers.Au
139139
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsDataValidForFormCore()
140140
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetFullDescriptionCore()
141141
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetDescribedByCore()
142-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
142+
#if false
143143
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
144144
protected virtual global::System.Collections.Generic.IEnumerable<global::Microsoft.UI.Xaml.Automation.Peers.AutomationPeer> GetFlowsToCore()
145145
{
146146
throw new global::System.NotImplementedException("The member IEnumerable<AutomationPeer> AutomationPeer.GetFlowsToCore() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IEnumerable%3CAutomationPeer%3E%20AutomationPeer.GetFlowsToCore%28%29");
147147
}
148148
#endif
149-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
149+
#if false
150150
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
151151
protected virtual global::System.Collections.Generic.IEnumerable<global::Microsoft.UI.Xaml.Automation.Peers.AutomationPeer> GetFlowsFromCore()
152152
{
153153
throw new global::System.NotImplementedException("The member IEnumerable<AutomationPeer> AutomationPeer.GetFlowsFromCore() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IEnumerable%3CAutomationPeer%3E%20AutomationPeer.GetFlowsFromCore%28%29");
154154
}
155155
#endif
156-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
156+
#if false
157157
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
158158
protected virtual int GetCultureCore()
159159
{
@@ -163,7 +163,7 @@ protected virtual int GetCultureCore()
163163
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetHeadingLevelCore()
164164
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsDialogCore()
165165
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.ListenerExists(Microsoft.UI.Xaml.Automation.Peers.AutomationEvents)
166-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
166+
#if false
167167
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
168168
public static global::Microsoft.UI.Xaml.Automation.Peers.RawElementProviderRuntimeId GenerateRawElementProviderRuntimeId()
169169
{

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/ColorSpectrumAutomationPeer.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@
33
#pragma warning disable 114 // new keyword hiding
44
namespace Microsoft.UI.Xaml.Automation.Peers
55
{
6-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
6+
#if false || false || false || false || false || false || false
77
[global::Uno.NotImplemented]
88
#endif
99
public partial class ColorSpectrumAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
1010
{
11-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
12-
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
13-
public ColorSpectrumAutomationPeer(global::Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum owner) : base(owner)
14-
{
15-
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ColorSpectrumAutomationPeer", "ColorSpectrumAutomationPeer.ColorSpectrumAutomationPeer(ColorSpectrum owner)");
16-
}
17-
#endif
11+
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ColorSpectrumAutomationPeer.ColorSpectrumAutomationPeer(Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum)
1812
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ColorSpectrumAutomationPeer.ColorSpectrumAutomationPeer(Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum)
1913
}
2014
}

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/ComboBoxItemAutomationPeer.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@
33
#pragma warning disable 114 // new keyword hiding
44
namespace Microsoft.UI.Xaml.Automation.Peers
55
{
6-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
6+
#if false || false || false || false || false || false || false
77
[global::Uno.NotImplemented]
88
#endif
99
public partial class ComboBoxItemAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
1010
{
11-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
12-
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
13-
public ComboBoxItemAutomationPeer(global::Microsoft.UI.Xaml.Controls.ComboBoxItem owner) : base(owner)
14-
{
15-
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemAutomationPeer", "ComboBoxItemAutomationPeer.ComboBoxItemAutomationPeer(ComboBoxItem owner)");
16-
}
17-
#endif
11+
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemAutomationPeer.ComboBoxItemAutomationPeer(Microsoft.UI.Xaml.Controls.ComboBoxItem)
1812
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemAutomationPeer.ComboBoxItemAutomationPeer(Microsoft.UI.Xaml.Controls.ComboBoxItem)
1913
}
2014
}

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/ComboBoxItemDataAutomationPeer.cs

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,14 @@
33
#pragma warning disable 114 // new keyword hiding
44
namespace Microsoft.UI.Xaml.Automation.Peers
55
{
6-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
6+
#if false || false || false || false || false || false || false
77
[global::Uno.NotImplemented]
88
#endif
99
public partial class ComboBoxItemDataAutomationPeer : global::Microsoft.UI.Xaml.Automation.Peers.SelectorItemAutomationPeer, global::Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider
1010
{
11-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
12-
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
13-
public ComboBoxItemDataAutomationPeer(object item, global::Microsoft.UI.Xaml.Automation.Peers.ComboBoxAutomationPeer parent) : base(item, parent)
14-
{
15-
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemDataAutomationPeer", "ComboBoxItemDataAutomationPeer.ComboBoxItemDataAutomationPeer(object item, ComboBoxAutomationPeer parent)");
16-
}
17-
#endif
11+
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemDataAutomationPeer.ComboBoxItemDataAutomationPeer(object, Microsoft.UI.Xaml.Automation.Peers.ComboBoxAutomationPeer)
1812
// Forced skipping of method Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemDataAutomationPeer.ComboBoxItemDataAutomationPeer(object, Microsoft.UI.Xaml.Automation.Peers.ComboBoxAutomationPeer)
19-
#if __ANDROID__ || __IOS__ || __TVOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__
20-
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "__TVOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__")]
21-
public void ScrollIntoView()
22-
{
23-
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemDataAutomationPeer", "void ComboBoxItemDataAutomationPeer.ScrollIntoView()");
24-
}
25-
#endif
13+
// Skipping already declared method Microsoft.UI.Xaml.Automation.Peers.ComboBoxItemDataAutomationPeer.ScrollIntoView()
2614
// Processing: Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider
2715
}
2816
}

0 commit comments

Comments
 (0)