alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class BackStageCommandAutomationPeer

    Class that provides UIAutomation support of Backstage Command.

    Inheritance
    System.Object
    BackStageCommandAutomationPeer
    Implements
    System.Windows.Automation.Provider.IInvokeProvider
    Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class BackStageCommandAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider

    Constructors

    BackStageCommandAutomationPeer(BackStageCommandButton)

    Initializes a new instance of theBackStageCommandAutomationPeer

    Declaration
    public BackStageCommandAutomationPeer(BackStageCommandButton owner)
    Parameters
    Type Name Description
    BackStageCommandButton owner

    The BackStageCommandButton

    Methods

    GetAutomationControlTypeCore()

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

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

    The control type.

    GetAutomationIdCore()

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

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

    The automation identifier.

    GetClassNameCore()

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

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

    The class name.

    GetHelpTextCore()

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

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

    The help text.

    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 technologies and other UI Automation clients. Or backstage.

    GetPattern(PatternInterface)

    When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.

    Declaration
    public override object GetPattern(PatternInterface patternInterface)
    Parameters
    Type Name Description
    System.Windows.Automation.Peers.PatternInterface patternInterface

    A value from the PatternInterface enumeration.

    Returns
    Type Description
    System.Object

    The object that implements the pattern interface; null if this peer does not support this interface.

    Invoke()

    Invokes the Backstage command Button click.

    Declaration
    public void Invoke()

    Implements

    System.Windows.Automation.Provider.IInvokeProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved