PresentationSource::GetCompositionTargetCore Method ()

 

When overridden in a derived class, returns a visual target for the given source.

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

protected:
virtual CompositionTarget^ GetCompositionTargetCore() abstract

Return Value

Type: System.Windows.Media::CompositionTarget^

Returns a CompositionTarget that is target for rendering the visual.

Notes to Inheritors:

Override this method to declare the value that the CompositionTarget read-only property will return.

Your override should return type-specific instances of the CompositionTarget derived class type that is used for your interoperation scenario.

.NET Framework
Available since 3.0
Return to top
Show: