HwndSource.UsesPerPixelOpacity 屬性

定義

取得值,這個值會宣告是否遵守來源視窗內容之每像素的不透明度。

public:
 property bool UsesPerPixelOpacity { bool get(); };
public bool UsesPerPixelOpacity { [System.Security.SecurityCritical] get; }
public bool UsesPerPixelOpacity { get; }
[<get: System.Security.SecurityCritical>]
member this.UsesPerPixelOpacity : bool
member this.UsesPerPixelOpacity : bool
Public ReadOnly Property UsesPerPixelOpacity As Boolean

屬性值

Boolean

如果系統採用每像素的不透明度則為 true,否則為 false

屬性

備註

當您啟用個別圖元不透明度時,系統不會再繪製非工作區。 這是因為 的預定目的是 UsesPerPixelOpacity 要顯示可在交互操作案例中運作的非矩形最上層 UI。 因此,顯示矩形非工作區會破壞該用途。

適用於