优化更新代码,添加界面功能并整合
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user