TextPointerContext Enumeration

 

Determines the category of content that is adjacent to a TextPointer in a specified LogicalDirection.

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

public enum class TextPointerContext

Member nameDescription
ElementEnd

The TextPointer is adjacent to the closing tag of a TextElement.

ElementStart

The TextPointer is adjacent to the opening tag of a TextElement.

EmbeddedElement

The TextPointer is adjacent to an embedded UIElement or ContentElement.

None

The TextPointer is adjacent to the beginning or end of content.

Text

The TextPointer is adjacent to text.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: