alexa
menu

Document Processing

    Show / Hide Table of Contents

    SpreadsheetAutomationPeer Class

    Provides UI Automation support for the SfSpreadsheet control. Enables automated functional testing and UI Automation capabilities through patterns like IValueProvider.

    Inheritance
    System.Object
    SpreadsheetAutomationPeer
    Namespace: Syncfusion.UI.Xaml.Spreadsheet
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class SpreadsheetAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    SpreadsheetAutomationPeer(SfSpreadsheet)

    Initializes a new instance of the SpreadsheetAutomationPeer class.

    Declaration
    public SpreadsheetAutomationPeer(SfSpreadsheet owner)
    Parameters
    Type Name Description
    SfSpreadsheet owner

    The SfSpreadsheet control that this peer represents.

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the Spreadsheet control.

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

    AutomationControlType.Custom

    GetChildrenCore()

    Gets the children automation peers for the Spreadsheet. Exposes the Formula Bar and Cell Grid as children in the UI Automation tree.

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

    GetClassNameCore()

    Gets the automation class name.

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

    The class name "SfSpreadsheet".

    GetNameCore()

    Gets the name of the control.

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

    The automation name for the control.

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