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:
property bool VisualStylesEnabled {
	static bool get();
	[UIPermissionAttribute(SecurityAction::Demand, Window = UIPermissionWindow::AllWindows)]
	static void set(bool value);
}

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: