HwndSource.GetCompositionTargetCore Method

Definition

Gets the visual target of the window.

protected:
 override System::Windows::Media::CompositionTarget ^ GetCompositionTargetCore();
protected override System.Windows.Media.CompositionTarget GetCompositionTargetCore ();
[System.Security.SecurityCritical]
protected override System.Windows.Media.CompositionTarget GetCompositionTargetCore ();
override this.GetCompositionTargetCore : unit -> System.Windows.Media.CompositionTarget
[<System.Security.SecurityCritical>]
override this.GetCompositionTargetCore : unit -> System.Windows.Media.CompositionTarget
Protected Overrides Function GetCompositionTargetCore () As CompositionTarget

Returns

CompositionTarget

Returns the visual target of the window.

Attributes

Remarks

The default implementation returns the same result as CompositionTarget.

Notes to Inheritors

Implement this method to return a type-specific visual target. HwndSource implements this method to return HwndTarget.

Applies to

See also