Browse Source

WIP

add-expanderAutomationPeer
Daniil Pavliuchyk 3 years ago
parent
commit
2612e1c225
  1. 7
      src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs

7
src/Avalonia.Controls/Automation/Peers/ExpanderAutomationPeer.cs

@ -13,16 +13,11 @@ namespace Avalonia.Controls.Automation.Peers
owner.PropertyChanged += Owner_PropertyChanged; owner.PropertyChanged += Owner_PropertyChanged;
} }
protected override string? GetNameCore()
{
return base.GetNameCore();
}
protected override string GetClassNameCore() protected override string GetClassNameCore()
{ {
return "Expander"; return "Expander";
} }
protected override bool IsContentElementCore() => true;
protected override bool IsControlElementCore() => true;
protected override AutomationControlType GetAutomationControlTypeCore() protected override AutomationControlType GetAutomationControlTypeCore()
{ {
return AutomationControlType.Group; return AutomationControlType.Group;

Loading…
Cancel
Save