ClassCalendarViewAutomationPeer
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
CalendarViewAutomationPeer(CalendarView)
Initializes a new instance of the CalendarViewAutomationPeer class.
Declaration
public CalendarViewAutomationPeer(CalendarView owner)
Parameters
owner
The owner.
Properties
ColumnCount
Gets the total number of columns in a grid.
Declaration
public int ColumnCount { get; }
Property Value
The total number of columns in a grid.
RowCount
Gets the total number of rows in a grid.
Declaration
public int RowCount { get; }
Property Value
The total number of rows in a grid.
RowOrColumnMajor
Retrieves the primary direction of traversal for the table.
Declaration
public RowOrColumnMajor RowOrColumnMajor { get; }
Property Value
RowOrColumnMajor
The primary direction of traversal.
Methods
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this . This method is called by .
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
The enumeration value.
GetChildrenCore()
Gets the collection of child elements of the UIElement that is associated with this . This method is called by .
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
A list of child AutomationPeer elements.
GetColumnHeaders()
Gets a collection of UI Automation providers that represents all the column headers in a table.
Declaration
public IRawElementProviderSimple[] GetColumnHeaders()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.
GetItem(int, int)
Retrieves the UI Automation provider for the specified cell.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetPattern(PatternInterface)
Gets the control pattern for the UIElement that is associated with this .
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
A value from the enumeration.
Returns
An object that implements the
interface if patternInterface is ;
otherwise, null.
GetRowHeaders()
Retrieves a collection of UI Automation providers that represents all row headers in the table.
Declaration
public IRawElementProviderSimple[] GetRowHeaders()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.