ToolStripDropDown.AllowTransparency 屬性

定義

取得或設定值,指出是否可調整表單的 Opacity

public:
 property bool AllowTransparency { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool AllowTransparency { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AllowTransparency : bool with get, set
Public Property AllowTransparency As Boolean

屬性值

如果表單的 Opacity 可以調整,則為 true,否則為 false

屬性

備註

只有在主機作業系統上啟用 UI 效果時,此屬性才有意義。 停用 UI 效果時變更屬性值沒有任何作用。

適用於