Skip to main content

TitleBarAutomationPeer

C# API / Fluence.Wpf.Automation

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

Exposes TitleBar to UI Automation as a title bar element.

Remarks: Initializes a new instance.

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

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

C# source

Constructors​

TitleBarAutomationPeer​

public TitleBarAutomationPeer(TitleBar owner)

Exposes TitleBar to UI Automation as a title bar element.

Remarks: Initializes a new instance.

Parameter owner: The TitleBar 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.

Remarks: An explicit automation name wins; otherwise the displayed title is the name. This is the order WinUI's own TitleBarAutomationPeer uses (microsoft-ui-xaml, src/controls/dev/TitleBar/TitleBarAutomationPeer.cpp, GetNameCore).