Edit

Share via


DocumentPageView.OnCreateAutomationPeer Method

Definition

Creates and returns an AutomationPeer for this DocumentPageView.

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

Returns

The new DocumentPageViewAutomationPeer.

Applies to