संपादित करें

इसके माध्यम से साझा किया गया


ContainerVisual.Parent Property

Definition

Gets the parent Visual for the ContainerVisual.

public:
 property System::Windows::DependencyObject ^ Parent { System::Windows::DependencyObject ^ get(); };
public System.Windows.DependencyObject Parent { get; }
member this.Parent : System.Windows.DependencyObject
Public ReadOnly Property Parent As DependencyObject

Property Value

The parent of the visual.

Remarks

Note that this is returned as DependencyObject, rather than a raw object.

This property might return null in a disconnected tree, or if you have traversed to the tree root at the window level.

Applies to