In This Article

WizardPageAutomationPeer Class

Exposes Wizard types to UI Automation.

public class WizardPageAutomationPeer : ItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer object

Constructors

WizardPageAutomationPeer(object, WizardAutomationPeer)

Exposes Wizard types to UI Automation.

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

Properties

WizardPage

The WizardPage that is wrapped by this UI Automation peer.

public WizardPage WizardPage { get; }

Property Value

WizardPage

Methods

GetAutomationControlTypeCore()

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

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The control type.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

string:

The class name.

GetNameCore()

Gets the text label of the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.

protected override string? GetNameCore()

Returns

string:

The text label.

GetPattern(PatternInterface)

Returns 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

An enumeration value that specifies the control pattern.

Returns

object:

An object that supports the control pattern if patternInterface is a supported value; otherwise, null.

Extension Methods