UsesPerPixelOpacity Property
Collapse the table of content
Expand the table of content

HwndTarget.UsesPerPixelOpacity Property


Gets a value that declares whether the per-pixel opacity value of the source window content is used for rendering.

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

public bool UsesPerPixelOpacity { get; internal set; }

Property Value

Type: System.Boolean

true if using per-pixel opacity; otherwise, false.

If you enable per-pixel opacity, the rendering subsystem no longer draws the non-client area (edge of window).

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft