Partager via


TextPointer.IsAtInsertionPosition Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates whether the current position is an insertion.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property IsAtInsertionPosition As Boolean
public bool IsAtInsertionPosition { get; }

Property Value

Type: System.Boolean
true if the current position is an insertion position; otherwise, false.

Remarks

An insertion position is a position where new content may be added without breaking any semantic rules for the associated content. In practice, an insertion position is anywhere in content where a caret may be positioned. An example of a valid TextPointer position that is not an insertion position is the position between two adjacent Paragraph tags (that is, between the closing tag of the preceding paragraph and the opening tag of the next paragraph).

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.