menu

WPF

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

    Show / Hide Table of Contents

    Class SfDataGridAutomationPeer

    Represents the class that exposes the SfDataGrid to UI Automation.

    Inheritance
    System.Object
    SfDataGridAutomationPeer
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class SfDataGridAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    SfDataGridAutomationPeer(SfDataGrid)

    Initializes a new instance of the System.Windows.Automation.Peers.DataGridAutomationPeer class.

    Declaration
    public SfDataGridAutomationPeer(SfDataGrid dataGrid)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    Specifies the SfDataGrid

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.

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

    Returns the control type for the SfDataGrid as Custom.

    GetClassNameCore()

    Gets the name of the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.

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

    Returns the name of the SfDataGrid.

    GetItemStatusCore()

    Gets a string that communicates the visual status of the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.

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

    Returns a string that communicates the visual status of the SfDataGrid.

    GetNameCore()

    Gets the text label of SfDataGrid that is associated with System.Windows.Automation.Peers.DataGridAutomationPeer.

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

    Returns the text label of SfDataGrid.

    IsEnabledCore()

    Gets a value that indicates whether the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer can accept keyboard focus.

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

    Returns true.

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