Επεξεργασία

Κοινή χρήση μέσω


FixedDocument.OnCreateAutomationPeer Method

Definition

Creates an automation peer for the document.

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

A DocumentAutomationPeer that exposes the FixedDocument to Microsoft UI Automation.

Notes to Inheritors

Your derived version can return any AutomationPeer, it does not have to be a DocumentAutomationPeer.

Applies to