Modifier

Partager via


HwndSource.GetCompositionTargetCore Method

Definition

Gets the visual target of the window.

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

Returns

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