Skip to main content

PersonPictureAutomationPeer

C# API / Fluence.Wpf.Automation

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf.Automation
public class PersonPictureAutomationPeer : FrameworkElementAutomationPeer

Exposes PersonPicture to UI Automation as an image element with an accessible name derived from the control's identity text. Narrator announces who the avatar represents using DisplayName when set, falling back to Initials, and always deferring to an explicit NameProperty value first.

Remarks: Initializes a new instance of the PersonPictureAutomationPeer class.

Parameter owner: The PersonPicture control represented by this automation peer.

Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)

C# source

Constructors​

PersonPictureAutomationPeer​

public PersonPictureAutomationPeer(PersonPicture owner)

Exposes PersonPicture to UI Automation as an image element with an accessible name derived from the control's identity text. Narrator announces who the avatar represents using DisplayName when set, falling back to Initials, and always deferring to an explicit NameProperty value first.

Remarks: Initializes a new instance of the PersonPictureAutomationPeer class.

Parameter owner: The PersonPicture control represented by this automation peer.

Methods​

GetAutomationControlTypeCore​

protected override AutomationControlType GetAutomationControlTypeCore()

Documentation inherited from the FrameworkElementAutomationPeer API.

GetClassNameCore​

protected override string GetClassNameCore()

Documentation inherited from the FrameworkElementAutomationPeer API.

GetNameCore​

protected override string GetNameCore()

Documentation inherited from the FrameworkElementAutomationPeer API.