menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditControlAutomationPeer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EditControlAutomationPeer

    Represents a class that provides UI Automation support for EditControl.

    Inheritance
    System.Object
    EditControlAutomationPeer
    Implements
    System.Windows.Automation.Provider.ISelectionProvider
    Namespace: Syncfusion.Windows.Edit
    Assembly: Syncfusion.Edit.Wpf.dll
    Syntax
    public class EditControlAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

    Constructors

    EditControlAutomationPeer(EditControl)

    Initializes a new instance of the EditControlAutomationPeer class.

    Declaration
    public EditControlAutomationPeer(EditControl control)
    Parameters
    Type Name Description
    EditControl control

    The control.

    Methods

    GetAutomationControlTypeCore()

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

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

    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.

    GetBoundingRectangleCore()

    Returns the bounded rectangle of EditControl.

    Declaration
    protected override Rect GetBoundingRectangleCore()
    Returns
    Type
    System.Windows.Rect

    GetChildrenCore()

    Retuns the children associated with EditControl.

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

    GetClassNameCore()

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

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

    An System.String.Empty string.

    GetHelpTextCore()

    Gets the string that describes the functionality of the System.Windows.ContentElement that is associated with this System.Windows.Automation.Peers.ContentElementAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText

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

    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.

    GetPattern(PatternInterface)

    Returns the patternInterface of the control

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

    IsContentElementCore()

    Gets or sets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is understood by the end user as interactive.

    Declaration
    protected override bool IsContentElementCore()
    Returns
    Type
    System.Boolean

    IsControlElementCore()

    Gets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is an element that contains data that is presented to the user. This method is called by System.Windows.Automation.Peers.AutomationPeer.IsContentElement.

    Declaration
    protected override bool IsControlElementCore()
    Returns
    Type
    System.Boolean

    IsEnabledCore()

    Gets the value indicates whether the control is enabled on not.

    Declaration
    protected override bool IsEnabledCore()
    Returns
    Type
    System.Boolean

    IsKeyboardFocusableCore()

    Gets the value indicates whether the control is keyboard focusable

    Declaration
    protected override bool IsKeyboardFocusableCore()
    Returns
    Type
    System.Boolean

    Implements

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