Provides a class that exposes the CalendarView to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class CalendarViewAutomationPeer : FrameworkElementAutomationPeer, ITableProvider, IGridProvider
Inheritance: objectCalendarViewAutomationPeer
Implements:
Constructors
Initializes a new instance of the CalendarViewAutomationPeer class.
Properties
Gets the total number of columns in a grid.
public int ColumnCount { get; }
The total number of columns in a grid.
Gets the total number of rows in a grid.
public int RowCount { get; }
The total number of rows in a grid.
RowOrColumnMajor
RowOrColumnMajor
Retrieves the primary direction of traversal for the table.
public RowOrColumnMajor RowOrColumnMajor { get; }
The primary direction of traversal.
Methods
Gets the control type for the UIElement that is associated with this . This method is called by .
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The enumeration value.
Gets the collection of child elements of the UIElement that is associated with this . This method is called by .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child AutomationPeer elements.
Gets a collection of UI Automation providers that represents all the column headers in a table.
public IRawElementProviderSimple[] GetColumnHeaders()
IRawElementProviderSimple[]
A collection of UI Automation providers.
Retrieves the UI Automation provider for the specified cell.
When overridden in a derived class, is called by .
Gets the control pattern for the UIElement that is associated with this .
public override object GetPattern(PatternInterface patternInterface)
A value from the enumeration.
Returns:An object that implements the
interface if patternInterface is ;
otherwise, null.
Retrieves a collection of UI Automation providers that represents all row headers in the table.
public IRawElementProviderSimple[] GetRowHeaders()
IRawElementProviderSimple[]
A collection of UI Automation providers.