Edit

Share via


ToolStripDropDown.AllowTransparency Property

Definition

Gets 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; }
[<System.ComponentModel.Browsable(false)>]
member this.AllowTransparency : bool with get, set
Public Property AllowTransparency As Boolean

Property Value

true if the Opacity of the form can be adjusted; otherwise, false.

Attributes

Remarks

This property is meaningful only when UI effects are enabled on the host operating system. Changing the property value when UI effects are disabled has no effect.

Applies to