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 598 9/13/2024
4.0.3 341 8/5/2024
4.0.2 360 6/24/2024
4.0.1 620 4/30/2024
4.0.0 197 3/29/2024
4.0.0-beta2 208 1/22/2024
4.0.0-beta 214 11/20/2023
3.4.17 819 10/18/2023
3.4.16 4,745 8/7/2023
3.4.15 414 5/18/2023
3.4.14 401 4/15/2023
3.4.13 964 2/4/2023
3.4.12 8,553 1/15/2023
3.4.11 858 11/15/2022
3.4.10 3,283 10/25/2022
3.4.9 966 10/3/2022
3.4.8 1,005 9/16/2022
3.4.7 1,002 9/3/2022
3.4.6 1,046 8/7/2022
3.4.5 1,092 7/17/2022
3.4.4 1,058 7/5/2022
3.4.3 4,336 6/14/2022
3.4.2 1,102 5/13/2022
3.4.1 1,086 5/5/2022
3.4.0 4,110 3/14/2022
3.3.15 8,614 12/27/2021
3.3.14 2,756 10/26/2021
3.3.13 782 9/30/2021
3.3.12 807 8/30/2021
3.3.11 708 7/22/2021
3.3.10 859 6/4/2021
3.3.9 817 5/7/2021
3.3.8 828 4/7/2021
3.3.7 804 3/24/2021
3.3.6 858 3/19/2021
3.3.5 718 3/1/2021
3.3.4 3,355 2/11/2021
3.3.3 717 2/3/2021
3.3.2 811 1/21/2021
3.3.1 791 1/20/2021
3.3.0 890 11/20/2020
3.2.21 750 11/13/2020
3.2.20 896 11/8/2020
3.2.19 851 10/23/2020
3.2.18 857 10/21/2020
3.2.17 945 9/20/2020
3.2.16 851 9/7/2020
3.2.15 890 8/30/2020
3.2.14 846 8/20/2020
3.2.13 954 7/27/2020
3.2.12 842 7/13/2020
3.2.11 940 6/28/2020
3.2.10 953 6/14/2020
3.2.9 945 6/3/2020
3.2.7 949 5/4/2020
3.2.6 960 4/21/2020
3.2.5 880 4/15/2020
3.2.4 897 4/12/2020
3.2.3 879 4/1/2020
3.2.2 864 3/24/2020
3.2.1 911 3/17/2020
3.2.0 1,127 2/27/2020
3.1.9 976 1/17/2020
3.1.8 922 1/13/2020
3.1.7 902 1/6/2020
3.1.6 906 12/12/2019
3.1.5 1,005 11/26/2019
3.1.4 933 11/25/2019
3.1.3 886 11/8/2019
3.1.2 925 11/4/2019
3.1.1 905 10/17/2019
3.1.0 914 10/3/2019
3.0.1 788 9/20/2019
3.0.0 593 8/27/2019
2.3.11 693 6/9/2019
2.3.10 630 6/5/2019
2.3.9 621 5/26/2019
2.3.8 631 5/13/2019
2.3.7 658 4/24/2019
2.3.6 636 4/17/2019
2.3.5 631 4/10/2019
2.3.4 661 3/9/2019
2.3.3 642 3/8/2019
2.3.2 644 2/28/2019
2.3.1 611 2/25/2019
2.3.0 642 2/22/2019
2.2.1 729 2/12/2019
2.2.0 706 2/1/2019
2.1.2 973 1/14/2019
2.1.0 930 12/15/2018
2.0.1 804 12/7/2018
2.0.0 756 11/28/2018
1.1.0 882 9/10/2018
1.0.18 926 8/10/2018
1.0.17 882 7/30/2018
1.0.16 926 6/29/2018
1.0.15 910 6/27/2018
1.0.14 1,022 6/8/2018
1.0.13 950 6/6/2018
1.0.12 1,042 4/5/2018
1.0.11 949 4/4/2018
1.0.10 1,022 3/27/2018
1.0.9 987 3/26/2018
1.0.8 1,055 2/7/2018
1.0.7 1,010 1/27/2018
1.0.6 1,071 1/8/2018
1.0.5 1,078 12/28/2017
1.0.4 1,114 12/15/2017
1.0.3 1,072 12/8/2017
1.0.2 964 11/30/2017
1.0.1 969 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