From 2612e1c225a49525cf62fe8aed0cce68bc3ed21a Mon Sep 17 00:00:00 2001 From: Daniil Pavliuchyk Date: Mon, 20 Feb 2023 16:58:41 +0200 Subject: [PATCH] WIP --- .../Automation/Peers/ExpanderAutomationPeer.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs index 99566cdd4c..dd8f91e837 100644 --- a/src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs +++ b/src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs @@ -13,16 +13,11 @@ namespace Avalonia.Controls.Automation.Peers owner.PropertyChanged += Owner_PropertyChanged; } - protected override string? GetNameCore() - { - return base.GetNameCore(); - } protected override string GetClassNameCore() { return "Expander"; } - protected override bool IsContentElementCore() => true; - protected override bool IsControlElementCore() => true; + protected override AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Group;