Class
CalendarViewAutomationPeer

Provides a class that exposes the CalendarView to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class CalendarViewAutomationPeer : FrameworkElementAutomationPeer, ITableProvider, IGridProvider

Inheritance: objectCalendarViewAutomationPeer

Implements: IGridProviderITableProvider

Constructors

CalendarViewAutomationPeer(CalendarView)

Initializes a new instance of the CalendarViewAutomationPeer class.

Declaration

cs-api-definition
public CalendarViewAutomationPeer(CalendarView owner)

Parameters

owner

CalendarView

The owner.

Properties

ColumnCount

Gets the total number of columns in a grid.

Declaration

cs-api-definition
public int ColumnCount { get; }

Property Value

int

The total number of columns in a grid.

RowCount

Gets the total number of rows in a grid.

Declaration

cs-api-definition
public int RowCount { get; }

Property Value

int

The total number of rows in a grid.

RowOrColumnMajor

Retrieves the primary direction of traversal for the table.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetColumnHeaders()

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

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetColumnHeaders()

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItem(int, int)

Retrieves the UI Automation provider for the specified cell.

Declaration

cs-api-definition
public IRawElementProviderSimple GetItem(int row, int column)

Parameters

row

int

The ordinal number of the row of interest.

column

int

The ordinal number of the column of interest.

Returns

IRawElementProviderSimple

The UI Automation provider for the specified cell.

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

GetPattern(PatternInterface)

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

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

A value from the enumeration.

Returns

object

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

cs-api-definition
public IRawElementProviderSimple[] GetRowHeaders()

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.