In This Article

AutomationContentControlAutomationPeer Class

Exposes AutomationContentControl types to UI Automation.

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

Constructors

AutomationContentControlAutomationPeer(AutomationContentControl)

Initializes a new instance of the AutomationContentControlAutomationPeer class.

public AutomationContentControlAutomationPeer(AutomationContentControl owner)
Parameter Type Description
owner AutomationContentControl

The owner.

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The AutomationControlType specified in the owning AutomationContentControl.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

string:

The Type.Name of the Owner.