ToolStripDropDown.AllowTransparency Property


Gets or sets a value indicating whether the Opacity of the form can be adjusted.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool AllowTransparency { get; set; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top