FixedDocument.OnCreateAutomationPeer Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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