CompositionTarget.RootVisual Property

 

Gets or sets the root visual of the CompositionTarget.

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

public virtual Visual RootVisual {
	[SecurityCriticalAttribute]
	get;
	[SecurityCriticalAttribute]
	[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)]
	set;
}

Property Value

Type: System.Windows.Media.Visual

The root visual of the CompositionTarget.

UIPermission

for setting the root visual of the CompositionTarget. Associated enumerations: UIPermissionWindow.AllWindows

.NET Framework
Available since 3.0
Return to top
Show: