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 428 9/13/2024
4.0.3 304 8/5/2024
4.0.2 306 6/24/2024
4.0.1 586 4/30/2024
4.0.0 192 3/29/2024
4.0.0-beta2 205 1/22/2024
4.0.0-beta 211 11/20/2023
3.4.17 790 10/18/2023
3.4.16 4,501 8/7/2023
3.4.15 409 5/18/2023
3.4.14 396 4/15/2023
3.4.13 957 2/4/2023
3.4.12 8,517 1/15/2023
3.4.11 853 11/15/2022
3.4.10 3,272 10/25/2022
3.4.9 960 10/3/2022
3.4.8 998 9/16/2022
3.4.7 997 9/3/2022
3.4.6 1,041 8/7/2022
3.4.5 1,087 7/17/2022
3.4.4 1,053 7/5/2022
3.4.3 4,321 6/14/2022
3.4.2 1,095 5/13/2022
3.4.1 1,081 5/5/2022
3.4.0 4,103 3/14/2022
3.3.15 8,596 12/27/2021
3.3.14 2,749 10/26/2021
3.3.13 776 9/30/2021
3.3.12 802 8/30/2021
3.3.11 703 7/22/2021
3.3.10 854 6/4/2021
3.3.9 812 5/7/2021
3.3.8 823 4/7/2021
3.3.7 797 3/24/2021
3.3.6 853 3/19/2021
3.3.5 713 3/1/2021
3.3.4 3,112 2/11/2021
3.3.3 712 2/3/2021
3.3.2 806 1/21/2021
3.3.1 784 1/20/2021
3.3.0 885 11/20/2020
3.2.21 745 11/13/2020
3.2.20 891 11/8/2020
3.2.19 846 10/23/2020
3.2.18 852 10/21/2020
3.2.17 940 9/20/2020
3.2.16 846 9/7/2020
3.2.15 885 8/30/2020
3.2.14 841 8/20/2020
3.2.13 949 7/27/2020
3.2.12 837 7/13/2020
3.2.11 935 6/28/2020
3.2.10 948 6/14/2020
3.2.9 940 6/3/2020
3.2.7 944 5/4/2020
3.2.6 955 4/21/2020
3.2.5 871 4/15/2020
3.2.4 888 4/12/2020
3.2.3 872 4/1/2020
3.2.2 857 3/24/2020
3.2.1 904 3/17/2020
3.2.0 1,120 2/27/2020
3.1.9 969 1/17/2020
3.1.8 915 1/13/2020
3.1.7 895 1/6/2020
3.1.6 899 12/12/2019
3.1.5 998 11/26/2019
3.1.4 924 11/25/2019
3.1.3 879 11/8/2019
3.1.2 918 11/4/2019
3.1.1 898 10/17/2019
3.1.0 907 10/3/2019
3.0.1 781 9/20/2019
3.0.0 586 8/27/2019
2.3.11 686 6/9/2019
2.3.10 623 6/5/2019
2.3.9 613 5/26/2019
2.3.8 623 5/13/2019
2.3.7 651 4/24/2019
2.3.6 627 4/17/2019
2.3.5 624 4/10/2019
2.3.4 653 3/9/2019
2.3.3 634 3/8/2019
2.3.2 637 2/28/2019
2.3.1 604 2/25/2019
2.3.0 635 2/22/2019
2.2.1 722 2/12/2019
2.2.0 699 2/1/2019
2.1.2 966 1/14/2019
2.1.0 923 12/15/2018
2.0.1 797 12/7/2018
2.0.0 745 11/28/2018
1.1.0 870 9/10/2018
1.0.18 914 8/10/2018
1.0.17 875 7/30/2018
1.0.16 919 6/29/2018
1.0.15 903 6/27/2018
1.0.14 1,013 6/8/2018
1.0.13 943 6/6/2018
1.0.12 1,035 4/5/2018
1.0.11 942 4/4/2018
1.0.10 1,015 3/27/2018
1.0.9 980 3/26/2018
1.0.8 1,048 2/7/2018
1.0.7 1,003 1/27/2018
1.0.6 1,062 1/8/2018
1.0.5 1,071 12/28/2017
1.0.4 1,107 12/15/2017
1.0.3 1,065 12/8/2017
1.0.2 957 11/30/2017
1.0.1 962 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