2025-07-31 20:12:01 +08:00
|
|
|
|
namespace AntDesign.WPF.Controls
|
2025-07-11 09:20:23 +08:00
|
|
|
|
{
|
|
|
|
|
|
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";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|