ToolStripDropDown.AllowTransparency ToolStripDropDown.AllowTransparency ToolStripDropDown.AllowTransparency ToolStripDropDown.AllowTransparency Property

定义

获取或设置一个值,该值指示能否调整窗体的 OpacityGets or sets a value indicating whether the Opacity of the form can be adjusted.

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

属性值

如果可以调整窗体的 Opacity,则为 true;否则为 falsetrue if the Opacity of the form can be adjusted; otherwise, false.

注解

仅当在主机操作系统上启用 UI 效果时, 此属性才有意义。This property is meaningful only when UI effects are enabled on the host operating system. 禁用 UI 效果时更改属性值不起作用。Changing the property value when UI effects are disabled has no effect.

适用于