Skip to main content
.NET Framework Class Library
VisualVisualParent Property

Gets the visual tree parent of the visual object.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
Syntax
Protected ReadOnly Property VisualParent As [%$TOPIC/ms595613_en-us_VS_110_1_0_0_0_0%]
protected [%$TOPIC/ms595613_en-us_VS_110_1_0_1_0_0%] VisualParent { get; }
protected:
property [%$TOPIC/ms595613_en-us_VS_110_1_0_2_0_0%]^ VisualParent {
	[%$TOPIC/ms595613_en-us_VS_110_1_0_2_0_1%]^ get ();
}
member VisualParent : [%$TOPIC/ms595613_en-us_VS_110_1_0_3_0_0%] with get
function get VisualParent () : [%$TOPIC/ms595613_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: System.WindowsDependencyObject
The Visual parent.
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1