FixedDocumentSequence.OnCreateAutomationPeer Method

Creates an automation peer for the sequence.

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

Notes to Inheritors

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft