語言

HwndSourceParameters.UsesPerPixelOpacity 屬性

定義

會得到一個值,宣告是否尊重來源視窗內容的每像素不透明度。

public:
 property bool UsesPerPixelOpacity { bool get(); void set(bool value); };
public bool UsesPerPixelOpacity { get; set; }
member this.UsesPerPixelOpacity : bool with get, set
Public Property UsesPerPixelOpacity As Boolean

屬性值

true若使用每像素不透明度;否則,。 false

備註

啟用每像素不透明度後,系統不再繪製非用戶端區域。

不透明度用於在桌面繪製視窗時(代表最後的渲染步驟,且不會出現對屬性值的貢獻,例如 Opacity)。

UsesPerPixelOpacity 僅適用於頂層視窗。

適用於

另請參閱