HwndSource.CompositionTarget Property

 

Gets the visual manager for the hosted window.

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

public HwndTarget CompositionTarget {
	[SecurityCriticalAttribute]
	[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.AllWindows)]
	get;
}

Property Value

Type: System.Windows.Interop.HwndTarget

The visual manager.

Override GetCompositionTargetCore in order to override the value that CompositionTarget returns.

.NET Framework
Available since 3.0
Return to top
Show: