AnchoredBlock(Block, TextPointer) Constructor

Definition

Initializes base class values when called by a derived class, taking a specified Block object as the initial contents of the new descendant of AnchoredBlock, and a TextPointer specifying an insertion position for the new AnchoredBlock descendant.

protected AnchoredBlock (System.Windows.Documents.Block block, System.Windows.Documents.TextPointer insertionPosition);

Parameters

block
Block

A Block object specifying the initial contents of the new element. This parameter may be null, in which case no Block is inserted.

insertionPosition
TextPointer

A TextPointer specifying an insertion position at which to insert the element after it is created, or null for no automatic insertion.

Applies to

Өнім Нұсқалар
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9