Editar

Compartilhar via


FlowDocument.OnCreateAutomationPeer Method

Definition

When overridden in a derived class, provides specific AutomationPeer implementations to the Windows Presentation Foundation (WPF) infrastructure.

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 type-specific AutomationPeer implementation.

Remarks

The implementation of this method is typically to call the constructor of a specific AutomationPeer implementation, and return the result.

Applies to