Düzenle

Aracılığıyla paylaş


FixedDocumentSequence.OnCreateAutomationPeer Method

Definition

Creates an automation peer for the sequence.

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 FixedDocumentSequence to Microsoft UI Automation.

Notes to Inheritors

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

Applies to