In This Article

MonthCalendarItemWrapperAutomationPeer Class

Exposes MonthCalendarItem types to UI Automation.

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

Constructors

MonthCalendarItemWrapperAutomationPeer(MonthCalendarItem)

Initializes a new instance of the MonthCalendarItemAutomationPeer class.

public MonthCalendarItemWrapperAutomationPeer(MonthCalendarItem owner)
Parameter Type Description
owner MonthCalendarItem

The owner element.

Methods

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type.

GetChildrenCore()

Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>:

The collection of AutomationPeer objects for child elements.

GetClassNameCore()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The class name.

GetLocalizedControlTypeCore()

Gets a localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

protected override string GetLocalizedControlTypeCore()

Returns

string:

The control type.

GetNameCore()

Gets text that describes the element that is associated with this automation peer.

protected override string GetNameCore()

Returns

string:

The name of the element that is the peer's owner.