Upravit

Sdílet prostřednictvím


PresentationSource.GetCompositionTargetCore Method

Definition

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

protected:
 abstract System::Windows::Media::CompositionTarget ^ GetCompositionTargetCore();
protected abstract System.Windows.Media.CompositionTarget GetCompositionTargetCore ();
abstract member GetCompositionTargetCore : unit -> System.Windows.Media.CompositionTarget
Protected MustOverride Function GetCompositionTargetCore () As CompositionTarget

Returns

Returns a CompositionTarget that is target for rendering the visual.

Notes to Implementers

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.

Applies to