alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class WindowTitleBarButtonAutomationPeer

    Class that provides UI Automation support of WindowTitleBarButtonAutoamtionPeer .

    Inheritance
    System.Object
    WindowTitleBarButtonAutomationPeer
    Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class WindowTitleBarButtonAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    WindowTitleBarButtonAutomationPeer(WindowTitleBarButton)

    Initializes a new instance of the WindowTitleBarButtonAutomationPeer class.

    Declaration
    public WindowTitleBarButtonAutomationPeer(WindowTitleBarButton owner)
    Parameters
    Type Name Description
    WindowTitleBarButton owner

    An instance of WindowTitleBarButton

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationControlType

    The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value.

    GetNameCore()

    Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.

    Declaration
    protected override string GetNameCore()
    Returns
    Type Description
    System.String

    The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved