Vanara.PInvoke.UxTheme 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.UxTheme --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.UxTheme -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.UxTheme" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.UxTheme --version 4.0.4                
#r "nuget: Vanara.PInvoke.UxTheme, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.UxTheme as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.UxTheme&version=4.0.4

// Install Vanara.PInvoke.UxTheme as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.UxTheme&version=4.0.4                

Vanara

Vanara.PInvoke.UxTheme NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows UxTheme.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.UxTheme

Functions Enumerations Structures
BeginBufferedAnimation BeginBufferedPaint BeginPanningFeedback BufferedPaintClear BufferedPaintInit BufferedPaintRenderAnimation BufferedPaintSetAlpha BufferedPaintStopAllAnimations BufferedPaintUnInit CloseThemeData DrawThemeBackground DrawThemeBackgroundEx DrawThemeEdge DrawThemeIcon DrawThemeParentBackground DrawThemeParentBackgroundEx DrawThemeText DrawThemeTextEx EnableThemeDialogTexture EnableTheming EndBufferedAnimation EndBufferedPaint EndPanningFeedback GetBufferedPaintBits GetBufferedPaintDC GetBufferedPaintTargetDC GetBufferedPaintTargetRect GetCurrentThemeName GetThemeAnimationProperty GetThemeAnimationTransform GetThemeAppProperties GetThemeBackgroundContentRect GetThemeBackgroundExtent GetThemeBackgroundRegion GetThemeBitmap GetThemeBool GetThemeColor GetThemeDocumentationProperty GetThemeEnumValue GetThemeFilename GetThemeFont GetThemeInt GetThemeIntList GetThemeMargins GetThemeMetric GetThemePartSize GetThemePosition GetThemePropertyOrigin GetThemeRect GetThemeStream GetThemeString GetThemeSysBool GetThemeSysColor GetThemeSysColorBrush GetThemeSysFont GetThemeSysInt GetThemeSysSize GetThemeSysString GetThemeTextExtent GetThemeTextMetrics GetThemeTimingFunction GetThemeTransitionDuration GetWindowTheme HitTestThemeBackground IsAppThemed IsCompositionActive IsThemeActive IsThemeBackgroundPartiallyTransparent IsThemeDialogTextureEnabled IsThemePartDefined OpenThemeData OpenThemeDataEx OpenThemeDataForDpi SetThemeAppProperties SetWindowTheme SetWindowThemeAttribute UpdatePanningFeedback DrawThemeBackgroundFlags DrawThemeParentBackgroundFlags DrawThemeTextOptionsMasks GBF HitTestOptions OpenThemeDataOptions PROPERTYORIGIN TA_PROPERTY TA_PROPERTY_FLAG TA_TIMINGFUNCTION_TYPE TA_TRANSFORM_FLAG TA_TRANSFORM_TYPE TextShadowType ThemeAppProperties ThemeDialogTextureFlags THEMESIZE WINDOWTHEMEATTRIBUTETYPE WTNCA BP_ANIMATIONSTYLE BP_BUFFERFORMAT BufferedPaintParamsFlags AEROWIZARDPARTS ARROWBTNSTATES BACKGROUNDSTATES BACKGROUNDWITHBORDERSTATES BALLOONSTATES BALLOONSTEMSTATES BARBACKGROUNDSTATES BARITEMSTATES BODYSTATES BORDER_HSCROLLSTATES BORDER_HVSCROLLSTATES BORDER_NOSCROLLSTATES BORDER_VSCROLLSTATES BORDERSTATES BUTTONPARTS CAPTIONSTATES CHECKBOXSTATES CHEVRONSTATES CHEVRONVERTSTATES CLOSEBUTTONSTATES CLOSESTATES COLLAPSEBUTTONSTATES COMBOBOXPARTS COMBOBOXSTYLESTATES COMMANDLINKGLYPHSTATES COMMANDLINKSTATES COMMUNICATIONSPARTS CONTENTAREASTATES CONTENTLINKSTATES CONTENTPANESTATES CONTROLLABELSTATES CONTROLPANELPARTS COPYSTATES CREATELINKSTATES CUEBANNERSTATES DATEBORDERSTATES DATEPICKERPARTS DATETEXTSTATES DOWNHORZSTATES DOWNSTATES DRAGDROPPARTS DROPDOWNBUTTONLEFTSTATES DROPDOWNBUTTONRIGHTSTATES DROPDOWNITEMSTATES EDITBORDER_HSCROLLSTATES EDITBORDER_HVSCROLLSTATES EDITBORDER_NOSCROLLSTATES EDITBORDER_VSCROLLSTATES EDITPARTS EDITTEXTSTATES EXPANDBUTTONSTATES EXPANDOBUTTONSTATES EXPLORERBARPARTS FILLSTATES FILLVERTSTATES FLYOUTPARTS FRAMEBOTTOMSTATES FRAMELEFTSTATES FRAMERIGHTSTATES FRAMESTATES GLYPHSTATES GRIPPERSTATES GROUPBOXSTATES GROUPHEADERLINESTATES GROUPHEADERSTATES HEADERAREASTATES HEADERCLOSESTATES HEADERDROPDOWNFILTERSTATES HEADERDROPDOWNSTATES HEADERITEMLEFTSTATES HEADERITEMRIGHTSTATES HEADERITEMSTATES HEADEROVERFLOWSTATES HEADERPARTS HEADERPINSTATES HEADERSORTARROWSTATES HEADERSTYLESTATES HELPBUTTONSTATES HELPLINKSTATES HORZSCROLLSTATES HORZTHUMBSTATES HOTGLYPHSTATES HOVERBACKGROUNDSTATES HYPERLINKTEXTSTATES IEBARMENUSTATES ITEMSTATES LABELSTATES LINKHEADERSTATES LINKSTATES LISTBOXPARTS LISTITEMSTATES LISTVIEWPARTS MAXBUTTONSTATES MAXCAPTIONSTATES MDICLOSEBUTTONSTATES MDIMINBUTTONSTATES MDIRESTOREBUTTONSTATES MENU_POPUPSUBMENU_HCHOT MENUPARTS MINBUTTONSTATES MINCAPTIONSTATES MOVESTATES NAV_BACKBUTTONSTATES NAV_FORWARDBUTTONSTATES NAV_MENUBUTTONSTATES NAVIGATIONPARTS NONESTATES NORMALGROUPCOLLAPSESTATES NORMALGROUPEXPANDSTATES POPUPCHECKBACKGROUNDSTATES POPUPCHECKSTATES POPUPITEMFOCUSABLESTATES POPUPITEMKBFOCUSSTATES POPUPITEMSTATES POPUPSUBMENUSTATES PROGRESSPARTS PUSHBUTTONDROPDOWNSTATES PUSHBUTTONSTATES RADIOBUTTONSTATES READONLYSTATES REBARPARTS RESTOREBUTTONSTATES SCROLLBARPARTS SCROLLBARSTYLESTATES SECTIONTITLELINKSTATES SHOWCALENDARBUTTONRIGHTSTATES SIZEBOXSTATES SMALLCAPTIONSTATES SMALLCLOSEBUTTONSTATES SMALLFRAMEBOTTOMSTATES SMALLFRAMELEFTSTATES SMALLFRAMERIGHTSTATES SPECIALGROUPCOLLAPSESTATES SPECIALGROUPEXPANDSTATES SPINPARTS SPLITTERSTATES SPLITTERVERTSTATES STANDARDSTATES STATUSPARTS SYSBUTTONSTATES SYSTEMCLOSEHCHOTSTATES SYSTEMCLOSESTATES SYSTEMMAXIMIZEHCHOTSTATES SYSTEMMAXIMIZESTATES SYSTEMMINIMIZEHCHOTSTATES SYSTEMMINIMIZESTATES SYSTEMRESTOREHCHOTSTATES SYSTEMRESTORESTATES TABITEMBOTHEDGESTATES TABITEMLEFTEDGESTATES TABITEMRIGHTEDGESTATES TABITEMSTATES TABPARTS TABSTATES TASKDIALOGPARTS TASKLINKSTATES TEXTSELECTIONGRIPPERPARTS TEXTSTYLEPARTS THUMBBOTTOMSTATES THUMBLEFTSTATES THUMBRIGHTSTATES THUMBSTATES THUMBTOPSTATES THUMBVERTSTATES TICSSTATES TICSVERTSTATES TITLEBARSTATES TOOLBARPARTS TOOLBARSTYLESTATES TOOLTIPPARTS TOPTABITEMBOTHEDGESTATES TOPTABITEMLEFTEDGESTATES TOPTABITEMRIGHTEDGESTATES TOPTABITEMSTATES TRACKBARPARTS TRACKBARSTYLESTATES TRACKSTATES TRACKVERTSTATES TRANSPARENTBACKGROUNDSTATES TRANSPARENTBARSTATES TRANSPARENTBARVERTSTATES TREEITEMSTATES TREEVIEWPARTS UPDATEMETADATASTATES UPHORZSTATES UPSTATES USERTILEPARTS VERTSCROLLSTATES VERTTHUMBSTATES WARNINGSTATES WINDOWPARTS WRENCHSTATES BGTYPE BORDERTYPE CONTENTALIGNMENT FILLTYPE GLYPHFONTSIZINGTYPE GLYPHTYPE HALIGN ICONEFFECT IMAGELAYOUT IMAGESELECTTYPE OFFSETTYPE SIZINGTYPE TEXTSHADOWTYPE ThemeProperty TRUESIZESCALINGTYPE VALIGN DTTOPTS INTLIST MARGINS TA_TIMINGFUNCTION TA_TRANSFORM WTA_OPTIONS DTBGOPTS BP_ANIMATIONPARAMS HANIMATIONBUFFER HPAINTBUFFER BP_PAINTPARAMS
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.UxTheme:

Package Downloads
NetDimension.NanUI

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

Vanara.Windows.Forms

Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

Nickvision.WinUI

A framework for creating Nickvision applications with the Windows App SDK.

WinFormium

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Vanara.PInvoke.UxTheme:

Repository Stars
XuanchenLin/NanUI
NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
5cover/WinClean
Windows optimization and debloating utility.
Version Downloads Last updated
4.0.4 440 9/13/2024
4.0.3 310 8/5/2024
4.0.2 319 6/24/2024
4.0.1 592 4/30/2024
4.0.0 195 3/29/2024
4.0.0-beta2 208 1/22/2024
4.0.0-beta 214 11/20/2023
3.4.17 801 10/18/2023
3.4.16 4,544 8/7/2023
3.4.15 412 5/18/2023
3.4.14 399 4/15/2023
3.4.13 962 2/4/2023
3.4.12 8,523 1/15/2023
3.4.11 856 11/15/2022
3.4.10 3,276 10/25/2022
3.4.9 963 10/3/2022
3.4.8 1,003 9/16/2022
3.4.7 1,000 9/3/2022
3.4.6 1,044 8/7/2022
3.4.5 1,090 7/17/2022
3.4.4 1,056 7/5/2022
3.4.3 4,325 6/14/2022
3.4.2 1,098 5/13/2022
3.4.1 1,084 5/5/2022
3.4.0 4,106 3/14/2022
3.3.15 8,608 12/27/2021
3.3.14 2,752 10/26/2021
3.3.13 779 9/30/2021
3.3.12 805 8/30/2021
3.3.11 706 7/22/2021
3.3.10 857 6/4/2021
3.3.9 815 5/7/2021
3.3.8 826 4/7/2021
3.3.7 800 3/24/2021
3.3.6 856 3/19/2021
3.3.5 716 3/1/2021
3.3.4 3,178 2/11/2021
3.3.3 715 2/3/2021
3.3.2 809 1/21/2021
3.3.1 787 1/20/2021
3.3.0 888 11/20/2020
3.2.21 748 11/13/2020
3.2.20 894 11/8/2020
3.2.19 849 10/23/2020
3.2.18 855 10/21/2020
3.2.17 943 9/20/2020
3.2.16 849 9/7/2020
3.2.15 888 8/30/2020
3.2.14 844 8/20/2020
3.2.13 952 7/27/2020
3.2.12 840 7/13/2020
3.2.11 938 6/28/2020
3.2.10 951 6/14/2020
3.2.9 943 6/3/2020
3.2.7 947 5/4/2020
3.2.6 958 4/21/2020
3.2.5 874 4/15/2020
3.2.4 891 4/12/2020
3.2.3 875 4/1/2020
3.2.2 860 3/24/2020
3.2.1 907 3/17/2020
3.2.0 1,123 2/27/2020
3.1.9 972 1/17/2020
3.1.8 918 1/13/2020
3.1.7 898 1/6/2020
3.1.6 902 12/12/2019
3.1.5 1,001 11/26/2019
3.1.4 929 11/25/2019
3.1.3 882 11/8/2019
3.1.2 921 11/4/2019
3.1.1 901 10/17/2019
3.1.0 910 10/3/2019
3.0.1 784 9/20/2019
3.0.0 589 8/27/2019
2.3.11 689 6/9/2019
2.3.10 626 6/5/2019
2.3.9 616 5/26/2019
2.3.8 626 5/13/2019
2.3.7 654 4/24/2019
2.3.6 630 4/17/2019
2.3.5 627 4/10/2019
2.3.4 656 3/9/2019
2.3.3 637 3/8/2019
2.3.2 640 2/28/2019
2.3.1 607 2/25/2019
2.3.0 638 2/22/2019
2.2.1 725 2/12/2019
2.2.0 702 2/1/2019
2.1.2 969 1/14/2019
2.1.0 926 12/15/2018
2.0.1 800 12/7/2018
2.0.0 748 11/28/2018
1.1.0 873 9/10/2018
1.0.18 917 8/10/2018
1.0.17 878 7/30/2018
1.0.16 922 6/29/2018
1.0.15 906 6/27/2018
1.0.14 1,016 6/8/2018
1.0.13 946 6/6/2018
1.0.12 1,038 4/5/2018
1.0.11 945 4/4/2018
1.0.10 1,018 3/27/2018
1.0.9 983 3/26/2018
1.0.8 1,051 2/7/2018
1.0.7 1,006 1/27/2018
1.0.6 1,065 1/8/2018
1.0.5 1,074 12/28/2017
1.0.4 1,110 12/15/2017
1.0.3 1,068 12/8/2017
1.0.2 960 11/30/2017
1.0.1 965 11/28/2017

Currently implements:

Functions
BeginBufferedAnimation BeginBufferedPaint BeginPanningFeedback BufferedPaintClear BufferedPaintInit BufferedPaintRenderAnimation BufferedPaintSetAlpha BufferedPaintStopAllAnimations BufferedPaintUnInit CloseThemeData DrawThemeBackground DrawThemeBackgroundEx DrawThemeEdge DrawThemeIcon DrawThemeParentBackground DrawThemeParentBackgroundEx DrawThemeText DrawThemeTextEx EnableThemeDialogTexture EnableTheming EndBufferedAnimation EndBufferedPaint EndPanningFeedback GetBufferedPaintBits GetBufferedPaintDC GetBufferedPaintTargetDC GetBufferedPaintTargetRect GetCurrentThemeName GetThemeAnimationProperty GetThemeAnimationTransform GetThemeAppProperties GetThemeBackgroundContentRect GetThemeBackgroundExtent GetThemeBackgroundRegion GetThemeBitmap GetThemeBool GetThemeColor GetThemeDocumentationProperty GetThemeEnumValue GetThemeFilename GetThemeFont GetThemeInt GetThemeIntList GetThemeMargins GetThemeMetric GetThemePartSize GetThemePosition GetThemePropertyOrigin GetThemeRect GetThemeStream GetThemeString GetThemeSysBool GetThemeSysColor GetThemeSysColorBrush GetThemeSysFont GetThemeSysInt GetThemeSysSize GetThemeSysString GetThemeTextExtent GetThemeTextMetrics GetThemeTimingFunction GetThemeTransitionDuration GetWindowTheme HitTestThemeBackground IsAppThemed IsCompositionActive IsThemeActive IsThemeBackgroundPartiallyTransparent IsThemeDialogTextureEnabled IsThemePartDefined OpenThemeData OpenThemeDataEx OpenThemeDataForDpi SetThemeAppProperties SetWindowTheme SetWindowThemeAttribute UpdatePanningFeedback

Structures
BP_ANIMATIONPARAMS BP_PAINTPARAMS DTBGOPTS DTTOPTS HANIMATIONBUFFER HPAINTBUFFER INTLIST MARGINS TA_TIMINGFUNCTION TA_TRANSFORM WTA_OPTIONS