HwndSourceParameters.UsesPerPixelOpacity 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個值,宣告是否尊重來源視窗內容的每像素不透明度。
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 僅適用於頂層視窗。