PresentationSource::RootVisual Property
.NET Framework (current version)
When overridden in a derived class, gets or sets the root visual being presented in the source.
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; }
Notes to Inheritors:
UIPermissionUIPermission
to set the root visual (LinkDemand). Associated enumeration: UIPermissionWindow::AllWindows.
to override the property (InheritanceDemand). Associated enumeration: UIPermissionWindow::AllWindows.
.NET Framework
Available since 3.0
Available since 3.0
Show: