In This Article

MonthCalendarItemWrapperAutomationPeer Class

Exposes MonthCalendarItem types to UI Automation.

public class MonthCalendarItemWrapperAutomationPeer : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object

Constructors

MonthCalendarItemWrapperAutomationPeer(MonthCalendarItem)

Exposes MonthCalendarItem types to UI Automation.

public MonthCalendarItemWrapperAutomationPeer(MonthCalendarItem owner)
Parameter Type Description
owner MonthCalendarItem

The owner element.

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetChildrenCore()

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

protected override List<AutomationPeer>? GetChildrenCore()

Returns

List<AutomationPeer>:

A list of child AutomationPeer elements.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

GetNameCore()

Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().

protected override string GetNameCore()

Returns

string:

The text label of the element that is associated with this automation peer.

Extension Methods