Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FixedDocument.OnCreateAutomationPeer Method ()


Creates an automation peer for the document.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override AutomationPeer OnCreateAutomationPeer()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer

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.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft