Class DataGridAutomationPeer
Exposes DataGrid types to UI Automation.
Inheritance
System.Object
DataGridAutomationPeer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.Controls.Data.dll
Syntax
public class DataGridAutomationPeer : FrameworkElementAutomationPeer, IScrollProvider, ISelectionProvider, ITableProvider, IGridProvider
Constructors
|
Improve this Doc
View Source
DataGridAutomationPeer(DataGrid)
Declaration
public DataGridAutomationPeer(DataGrid owner)
Parameters
Methods
|
Improve this Doc
View Source
GetAutomationControlTypeCore()
Gets the control type for the element that is associated with the UI Automation peer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Overrides
|
Improve this Doc
View Source
GetChildrenCore()
Gets the collection of elements that are represented in the UI Automation tree as immediate
child elements of the automation peer.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
Type |
Description |
System.Collections.Generic.List<AutomationPeer> |
The children elements.
|
Overrides
|
Improve this Doc
View Source
GetClassNameCore()
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
differentiates the control represented by this AutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type |
Description |
System.String |
The string that contains the name.
|
Overrides
|
Improve this Doc
View Source
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
Type |
Description |
System.String |
Returns the first of these that is not null or empty:
- Value returned by the base implementation
- Name of the owning DataGrid
- DataGrid class name
|
Overrides
|
Improve this Doc
View Source
GetPattern(PatternInterface)
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type |
Name |
Description |
PatternInterface |
patternInterface |
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
|
Returns
Type |
Description |
System.Object |
The object that supports the specified pattern, or null if unsupported.
|
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IGridProvider.ColumnCount
Declaration
int IGridProvider.ColumnCount { get; }
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IGridProvider.GetItem(Int32, Int32)
Declaration
IRawElementProviderSimple IGridProvider.GetItem(int row, int column)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
|
Improve this Doc
View Source
IGridProvider.RowCount
Declaration
int IGridProvider.RowCount { get; }
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
bool IScrollProvider.HorizontallyScrollable { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
double IScrollProvider.HorizontalScrollPercent { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Declaration
double IScrollProvider.HorizontalViewSize { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Declaration
void IScrollProvider.Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters
|
Improve this Doc
View Source
Declaration
void IScrollProvider.SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters
Type |
Name |
Description |
System.Double |
horizontalPercent |
|
System.Double |
verticalPercent |
|
|
Improve this Doc
View Source
Declaration
bool IScrollProvider.VerticallyScrollable { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
double IScrollProvider.VerticalScrollPercent { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Declaration
double IScrollProvider.VerticalViewSize { get; }
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
ISelectionProvider.CanSelectMultiple
Declaration
bool ISelectionProvider.CanSelectMultiple { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ISelectionProvider.GetSelection()
Declaration
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
Returns
|
Improve this Doc
View Source
ISelectionProvider.IsSelectionRequired
Declaration
bool ISelectionProvider.IsSelectionRequired { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ITableProvider.GetColumnHeaders()
Declaration
IRawElementProviderSimple[] ITableProvider.GetColumnHeaders()
Returns
|
Improve this Doc
View Source
Declaration
IRawElementProviderSimple[] ITableProvider.GetRowHeaders()
Returns
|
Improve this Doc
View Source
ITableProvider.RowOrColumnMajor
Declaration
RowOrColumnMajor ITableProvider.RowOrColumnMajor { get; }
Returns
Implements
Extension Methods