CompositionTarget::RootVisual Property

 

Gets or sets the root visual of the CompositionTarget.

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

public:
property Visual^ RootVisual {
	[SecurityCriticalAttribute]
	virtual Visual^ get();
	[SecurityCriticalAttribute]
	[UIPermissionAttribute(SecurityAction::LinkDemand, Window = UIPermissionWindow::AllWindows)]
	virtual void set(Visual^ value);
}

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: