ToolStripManager.VisualStylesEnabled Property

 

Gets or sets a value indicating whether a ToolStrip is rendered using visual style information called themes.

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

public static bool VisualStylesEnabled {
	get;
	[UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.AllWindows)]
	set;
}

Property Value

Type: System.Boolean

true if the ToolStripItem is rendered using themes; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: