CompositionTarget.RootVisual Property

Definition

Gets or sets the root visual of the CompositionTarget.

public:
 virtual property System::Windows::Media::Visual ^ RootVisual { System::Windows::Media::Visual ^ get(); void set(System::Windows::Media::Visual ^ value); };
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public virtual System.Windows.Media.Visual RootVisual { get; set; }
member this.RootVisual : System.Windows.Media.Visual with get, set
Public Overridable Property RootVisual As Visual

Property Value

The root visual of the CompositionTarget.

Attributes

Security

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

Applies to