PresentationSource.CompositionTarget Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.