17 lines
410 B
C#
17 lines
410 B
C#
using System.Windows.Automation.Peers;
|
|
|
|
namespace WPFluent.Controls;
|
|
|
|
public class PersonPictureAutomationPeer(PersonPicture owner) : FrameworkElementAutomationPeer(owner)
|
|
{
|
|
protected override AutomationControlType GetAutomationControlTypeCore()
|
|
{
|
|
return AutomationControlType.Text;
|
|
}
|
|
|
|
protected override string GetClassNameCore()
|
|
{
|
|
return nameof(PersonPicture);
|
|
}
|
|
}
|