Editar

Compartilhar via


PresentationSource.CompositionTarget Property

Definition

Gets the visual target for the visuals being presented in the source.

public:
 property System::Windows::Media::CompositionTarget ^ CompositionTarget { System::Windows::Media::CompositionTarget ^ get(); };
public System.Windows.Media.CompositionTarget CompositionTarget { [System.Security.SecurityCritical] get; }
public System.Windows.Media.CompositionTarget CompositionTarget { get; }
[<get: System.Security.SecurityCritical>]
member this.CompositionTarget : System.Windows.Media.CompositionTarget
member this.CompositionTarget : System.Windows.Media.CompositionTarget
Public ReadOnly Property CompositionTarget As CompositionTarget

Property Value

A visual target (instance of a CompositionTarget derived class).

Attributes

Remarks

The return of this property relies on an implementation of GetCompositionTargetCore.

Notes to Inheritors

Derived classes can choose to shadow this property to offer a type-specific value.

Applies to