Class TreeGridRowAutomationPeer
Represents the class that exposes the TreeGridRowControlBase to UI Automation.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridRowAutomationPeer : FrameworkElementAutomationPeer, IScrollItemProvider, ISelectionItemProvider
Constructors
TreeGridRowAutomationPeer(TreeGridRowControlBase)
Initializes a new instance of the TreeGridRowAutomationPeer class.
Declaration
public TreeGridRowAutomationPeer(TreeGridRowControlBase treeGridRowControlBase)
Parameters
Type | Name | Description |
---|---|---|
TreeGridRowControlBase | treeGridRowControlBase | Specifies the TreeGridRowControlBase. |
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 TreeGridRowControlBase that is associated with this TreeGridRowAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType | Returns the control type for the TreeGridRowControlBase as Custom. |
GetClassNameCore()
Gets the name of the TreeGridRowControlBase that is associated with this TreeGridRowAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the name of the TreeGridRowControlBase. |
GetNameCore()
Gets the text label of TreeGridRowControlBase that is associated with TreeGridRowAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the text label of TreeGridRowControlBase. |
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 TreeGridRowControlBase that is associated with this TreeGridRowAutomationPeer 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()