RichTextBlockOverflowAutomationPeer RichTextBlockOverflowAutomationPeer RichTextBlockOverflowAutomationPeer RichTextBlockOverflowAutomationPeer Class

Definition

Exposes RichTextBlockOverflow types to Microsoft UI Automation.

public : class RichTextBlockOverflowAutomationPeer : FrameworkElementAutomationPeer, IRichTextBlockOverflowAutomationPeerpublic class RichTextBlockOverflowAutomationPeer : FrameworkElementAutomationPeer, IRichTextBlockOverflowAutomationPeerPublic Class RichTextBlockOverflowAutomationPeer Inherits FrameworkElementAutomationPeer Implements IRichTextBlockOverflowAutomationPeer// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

The Windows Runtime RichTextBlockOverflow class creates a new RichTextBlockOverflowAutomationPeer as its OnCreateAutomationPeer definition. RichTextBlockOverflow is sealed, so the normal scenario of deriving from the RichTextBlockOverflow class and its existing peer isn't applicable to RichTextBlockOverflowAutomationPeer.

Default peer implementation and overrides in RichTextBlockOverflowAutomationPeer

RichTextBlockOverflowAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

TextPattern support

RichTextBlockOverflowAutomationPeer supports the TextPattern Microsoft UI Automation pattern. The support for this pattern is implemented as native code by the peer, so you won't see public API for the RichTextBlockOverflowAutomationPeer peer class that exposes the pattern implementation for extension. And you won't see ITextRangeProvider and the similar managed interfaces in the RichTextBlockOverflowAutomationPeer inheritance. But Microsoft UI Automation clients can use the TextPattern pattern implemented by this peer and call its native API surface.

Here are some specifics of the TextPattern implementation in RichTextBlockOverflowAutomationPeer:

Constructors

RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow) RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow) RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow) RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow)

Initializes a new instance of the RichTextBlockOverflowAutomationPeer class.

public : RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow owner)public RichTextBlockOverflowAutomationPeer(RichTextBlockOverflow owner)Public Sub New(owner As RichTextBlockOverflow)// This API is not available in Javascript.
Parameters

See Also