alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class SfDiagramAutomationPeer

    Exposes SfDiagram types to UI Automation.

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

    Constructors

    SfDiagramAutomationPeer(SfDiagram)

    Initializes a new instance of the SfDiagramAutomationPeer class.

    Declaration
    public SfDiagramAutomationPeer(SfDiagram owner)
    Parameters
    Type Name Description
    SfDiagram owner

    The SfDiagram that is associated with this SfDiagramAutomationPeer.

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the SfDiagram that is associated with this SfDiagramAutomationPeer. 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()

    Gets the string that uniquely identifies the SfDiagram that is associated with this SfDiagramAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationId.

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

    A string that contains the automation identifier.

    GetClassNameCore()

    Gets the name of the class that defines the type that is associated with this SfDiagramAutomationPeer. 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 "SfDiagram".

    GetItemStatusCore()

    Gets a string that communicates the visual status of the SfDiagram that is associated with this SfDiagramAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetItemStatus.

    Declaration
    protected override string GetItemStatusCore()
    Returns
    Type
    System.String

    GetLocalizedControlTypeCore()

    Gets the localized version of the control type for the SfDiagram that is associated with this SfDiagramAutomationPeer.

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

    A string that contains "SfDiagram".

    GetNameCore()

    Gets the text label of the SfDiagram that is associated with this SfDiagramAutomationPeer. 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