Class TreeGridExpanderCellAutomationPeer
Represents the class that exposes the TreeGridExpanderCell to UI Automation.
Implements
Microsoft.UI.Xaml.Automation.Provider.IInvokeProvider
Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider
Microsoft.UI.Xaml.Automation.Provider.IGridItemProvider
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
Inherited Members
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridExpanderCellAutomationPeer : TreeGridCellAutomationPeer, IInvokeProvider, IScrollItemProvider, IGridItemProvider, IExpandCollapseProvider
Constructors
TreeGridExpanderCellAutomationPeer(TreeGridExpanderCell)
Initializes a new instance of the TreeGridExpanderCellAutomationPeer class.
Declaration
public TreeGridExpanderCellAutomationPeer(TreeGridExpanderCell treeGridExpanderCell)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridExpanderCell | treeGridExpanderCell | Specifies the TreeGridExpanderCell. |
Properties
ExpandCollapseState
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
| Type |
|---|
| Microsoft.UI.Xaml.Automation.ExpandCollapseState |
Methods
Collapse()
Declaration
public void Collapse()
Expand()
Declaration
public void Expand()
GetAutomationControlTypeCore()
Gets the control type for the TreeGridExpanderCell that is associated with this TreeGridExpanderCellAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| Microsoft.UI.Xaml.Automation.Peers.AutomationControlType | Returns the control type for the TreeGridExpanderCell as Custom. |
Overrides
GetClassNameCore()
Gets the name of the TreeGridExpanderCell that is associated with this TreeGridExpanderCellAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | Returns the name of the TreeGridExpanderCell. |
Overrides
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
| Type |
|---|
| System.String |
Overrides
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Automation.Peers.PatternInterface | patternInterface |
Returns
| Type |
|---|
| System.Object |
Overrides
IsEnabledCore()
Gets a value that indicates whether the TreeGridExpanderCell that is associated with this TreeGridExpanderCellAutomationPeer can accept keyboard focus.
Declaration
protected override bool IsEnabledCore()
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns true. |
Overrides
Implements
Microsoft.UI.Xaml.Automation.Provider.IInvokeProvider
Microsoft.UI.Xaml.Automation.Provider.IScrollItemProvider
Microsoft.UI.Xaml.Automation.Provider.IGridItemProvider
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider