alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class ContextAdornerAutomationPeer

    Provides UI Automation support for the ContextAdorner element. This automation peer enables assistive technologies to interact with the ContextAdorner control.

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

    Constructors

    ContextAdornerAutomationPeer(ContextAdorner)

    Initializes a new instance of the ContextTabGroupAutomationPeer class.

    Declaration
    public ContextAdornerAutomationPeer(ContextAdorner owner)
    Parameters
    Type Name Description
    ContextAdorner owner

    An instance of ContextAdorner

    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.

    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.

    GetChildrenCore()

    Returns a list of child automation peers for the associated ContextAdorner element.

    Declaration
    protected override List<AutomationPeer> GetChildrenCore()
    Returns
    Type Description
    System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>

    A list of System.Windows.Automation.Peers.AutomationPeer objects representing the child elements, or the base implementation if no children are found.

    GetClassNameCore()

    Returns the class name of the owner element for UI Automation.

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

    The class name of the owner element.

    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 technoloGetClassNameCoreies and other UI Automation clients.

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