Class GridRowAutomationPeer
Represents the class that exposes the grid row to UI Automation.
Inheritance
System.Object
GridRowAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridRowAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Constructors
GridRowAutomationPeer(DataGridRowControl)
Initializes a new instance of the GridRowAutomationPeer class.
Declaration
public GridRowAutomationPeer(DataGridRowControl virtualizingCellsControl)
Parameters
Type | Name | Description |
---|---|---|
DataGridRowControl | virtualizingCellsControl | Specifies the DataGridRowControl. |
Properties
IsSelected
Declaration
public bool IsSelected { get; }
Property Value
Type |
---|
System.Boolean |
SelectionContainer
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple |
Methods
AddToSelection()
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Gets the control type for the grid row that is associated with this GridRowAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType | Returns the control type for the grid row as Custom. |
GetClassNameCore()
Gets the name of the grid row that is associated with this GridRowAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the name of the grid row. |
GetNameCore()
Gets the text label of grid row that is associated with GridRowAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the text label of grid row. |
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Automation.Peers.PatternInterface | patternInterface |
Returns
Type |
---|
System.Object |
IsEnabledCore()
Gets a value that indicates whether the grid row that is associated with this GridRowAutomationPeer can accept keyboard focus.
Declaration
protected override bool IsEnabledCore()
Returns
Type | Description |
---|---|
System.Boolean | Returns true. |
RemoveFromSelection()
Declaration
public void RemoveFromSelection()
ScrollIntoView()
Declaration
public void ScrollIntoView()
Select()
Declaration
public void Select()
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider