Dela via


TextPointer.Parent Property

Definition

Gets the logical parent that contains the current position.

public:
 property DependencyObject ^ Parent { DependencyObject ^ get(); };
DependencyObject Parent();
public DependencyObject Parent { get; }
var dependencyObject = textPointer.parent;
Public ReadOnly Property Parent As DependencyObject

Property Value

The logical parent that contains the current position. Can return the RichEditBox when at the top of the content stack.

Applies to