New to Telerik UI for WPFStart a free 30-day trial

Provides a class that exposes the CalendarView to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class CalendarViewAutomationPeer : FrameworkElementAutomationPeer, ITableProvider, IGridProvider

Inheritance: objectCalendarViewAutomationPeer

Implements: IGridProviderITableProvider

Constructors

Initializes a new instance of the CalendarViewAutomationPeer class.

C#
public CalendarViewAutomationPeer(CalendarView owner)
Parameters:ownerCalendarView

The owner.

Properties

Gets the total number of columns in a grid.

C#
public int ColumnCount { get; }
Property Value:

The total number of columns in a grid.

Gets the total number of rows in a grid.

C#
public int RowCount { get; }
Property Value:

The total number of rows in a grid.

RowOrColumnMajor

RowOrColumnMajor

Retrieves the primary direction of traversal for the table.

C#
public RowOrColumnMajor RowOrColumnMajor { get; }
Property Value:

The primary direction of traversal.

Methods

Gets the control type for the UIElement that is associated with this . This method is called by .

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

Gets the collection of child elements of the UIElement that is associated with this . This method is called by .

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

A list of child AutomationPeer elements.

C#
protected override string GetClassNameCore()
Returns:

string

Gets a collection of UI Automation providers that represents all the column headers in a table.

C#
public IRawElementProviderSimple[] GetColumnHeaders()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

C#
protected override string GetHelpTextCore()
Returns:

string

Retrieves the UI Automation provider for the specified cell.

C#
public IRawElementProviderSimple GetItem(int row, int column)
Parameters:rowint

The ordinal number of the row of interest.

columnint

The ordinal number of the column of interest.

Returns:

IRawElementProviderSimple

The UI Automation provider for the specified cell.

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

Gets the control pattern for the UIElement that is associated with this .

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object

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.

C#
public IRawElementProviderSimple[] GetRowHeaders()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.