UxThemeIsThemeActive Method
Tests if a visual style for the current application is active.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("UxTheme.dll")]
public static bool IsThemeActive()
<DllImportAttribute("UxTheme.dll">]
Public Shared Function IsThemeActive As Boolean
Dim returnValue As Boolean
returnValue = UxTheme.IsThemeActive()
public:
[DllImportAttribute(L"UxTheme.dll")]
static bool IsThemeActive()
[<DllImportAttribute("UxTheme.dll")>]
static member IsThemeActive : unit -> bool
No code example is currently available or this language may not be supported.
Return Value
Boolean
If a visual style is enabled on the system, the return value is
.
If a visual style is not enabled on the system, the return value is
.