Skip to main content

Gets the visual tree parent of the visual object.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

protected DependencyObject VisualParent { get; }
property DependencyObject^ VisualParent {
	DependencyObject^ get();
member VisualParent : DependencyObject with get
Protected ReadOnly Property VisualParent As DependencyObject

Property Value


The Visual parent.

.NET Framework
Available since 3.0
Return to top