Browse Source
* add automation peer for UserControl * fix automation name * change base class to ControlAutomationPeerpull/17499/head
committed by
GitHub
2 changed files with 17 additions and 1 deletions
@ -0,0 +1,14 @@ |
|||||
|
using Avalonia.Automation; |
||||
|
using Avalonia.Automation.Peers; |
||||
|
|
||||
|
namespace Avalonia.Controls.Automation.Peers; |
||||
|
|
||||
|
public class UserControlAutomationPeer : ControlAutomationPeer |
||||
|
{ |
||||
|
public UserControlAutomationPeer(UserControl owner) |
||||
|
: base(owner) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
protected override AutomationControlType GetAutomationControlTypeCore() => AutomationControlType.Custom; |
||||
|
} |
||||
Loading…
Reference in new issue