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

屬性值

Boolean

如果使用每個像素的不透明度則為 true,否則為 false

備註

藉由啟用每圖元不透明度,系統就不會再繪製非工作區。

在桌面上繪製視窗時,會使用不透明度 (它代表最終轉譯步驟,而且不會顯示為屬性值的參與者,例如 Opacity) 。

UsesPerPixelOpacity 僅適用于最上層視窗。

適用於

另請參閱