alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class AnnotationEditorAutomationPeer

    Exposes AnnotationEditor types to UI Automation.

    Inheritance
    System.Object
    AnnotationEditorAutomationPeer
    Namespace: Syncfusion.UI.Xaml.Diagram.Automation.Peers
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class AnnotationEditorAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    AnnotationEditorAutomationPeer(AnnotationEditor)

    Initializes a new instance of the AnnotationEditorAutomationPeer class.

    Declaration
    public AnnotationEditorAutomationPeer(AnnotationEditor owner)
    Parameters
    Type Name Description
    AnnotationEditor owner

    The AnnotationEditor that is associated with this AnnotationEditorAutomationPeer.

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the AnnotationEditor that is associated with this AnnotationEditorAutomationPeer. 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.

    GetChildrenCore()

    Gets a collection of child elements. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren.

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

    A collection of child elements.

    GetClassNameCore()

    Gets the name of the class that defines the type that is associated with this AnnotationEditorAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.

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

    A string that contains "AnnotationEditor".

    GetLocalizedControlTypeCore()

    Gets the localized version of the control type for the AnnotationEditor that is associated with this AnnotationEditorAutomationPeer.

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

    A string that contains "AnnotationEditor".

    GetNameCore()

    Gets the text label of the AnnotationEditor that is associated with this AnnotationEditorAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetName.

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

    The text label of the element that is associated with this automation peer.

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