PresentationSource::RootVisual Property

 

When overridden in a derived class, gets or sets the root visual being presented in the source.

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

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

Property Value

Type: System.Windows.Media::Visual^

The root visual.

Notes to Inheritors:

UIPermission

to set the root visual (LinkDemand). Associated enumeration: UIPermissionWindow::AllWindows.

UIPermission

to override the property (InheritanceDemand). Associated enumeration: UIPermissionWindow::AllWindows.

.NET Framework
Available since 3.0
Return to top
Show: