In This Article

WizardPageAutomationPeer Class

Exposes Wizard types to UI Automation.

public class WizardPageAutomationPeer : ItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer object

Constructors

WizardPageAutomationPeer(object, WizardAutomationPeer)

Initializes an instance of the WizardPageAutomationPeer class.

public WizardPageAutomationPeer(object owner, WizardAutomationPeer wizardAutomationPeer)
Parameter Type Description
owner object
wizardAutomationPeer WizardAutomationPeer

Properties

WizardPage

Gets the WizardPage that is wrapped by this UI Automation peer.

public WizardPage WizardPage { get; }

Property Value

WizardPage:

The WizardPage that is wrapped by this UI Automation peer.

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

A AutomationControlType indicating the control type.

GetClassNameCore()

Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The string that contains the name.

GetNameCore()

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

protected override string GetNameCore()

Returns

string:

The string that contains the name.

GetPattern(PatternInterface)

Gets the object that supports the specified control pattern of the element that is associated with this automation peer.

public override object GetPattern(PatternInterface patternInterface)
Parameter Type Description
patternInterface PatternInterface

The PatternInterface to examine.

Returns

object:

The reference to this instance if the specified pattern is implemented; otherwise, null.