Partager via


ConsoleRenderer.VisualStylesEnabled Property

 

Gets a value that indicates whether visual styles are enabled.

Namespace:   Microsoft.WindowsServerSolutions.Console.Shared
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public static bool VisualStylesEnabled { get; }
public:
property bool VisualStylesEnabled {
    static bool get();
}
Public Shared ReadOnly Property VisualStylesEnabled As Boolean

Property Value

Type: System.Boolean

A System.Boolean: true if visual styles are enabled; otherwise, false.

Remarks

You can also use this property to determine whether themes are turned on (when true) or are running in the standard/classic color scheme (when false).

See Also

ConsoleRenderer Class
Microsoft.WindowsServerSolutions.Console.Shared Namespace

Return to top