FixedDocumentSequence.OnCreateAutomationPeer Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AutomationPeerProtected Overrides Function OnCreateAutomationPeer () As AutomationPeerReturns
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.