更新
This commit is contained in:
23
AntdWpf/Controls/ThumbContentControlAutomationPeer.cs
Normal file
23
AntdWpf/Controls/ThumbContentControlAutomationPeer.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace AntdWpf.Controls
|
||||
{
|
||||
using System.Windows;
|
||||
using System.Windows.Automation.Peers;
|
||||
|
||||
public class ThumbContentControlAutomationPeer : FrameworkElementAutomationPeer
|
||||
{
|
||||
public ThumbContentControlAutomationPeer(FrameworkElement owner)
|
||||
: base(owner)
|
||||
{
|
||||
}
|
||||
|
||||
protected override AutomationControlType GetAutomationControlTypeCore()
|
||||
{
|
||||
return AutomationControlType.Custom;
|
||||
}
|
||||
|
||||
protected override string GetClassNameCore()
|
||||
{
|
||||
return "ThumbContentControl";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user