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 613 9/13/2024
4.0.3 347 8/5/2024
4.0.2 360 6/24/2024
4.0.1 625 4/30/2024
4.0.0 197 3/29/2024
4.0.0-beta2 208 1/22/2024
4.0.0-beta 215 11/20/2023
3.4.17 819 10/18/2023
3.4.16 4,784 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,558 1/15/2023
3.4.11 858 11/15/2022
3.4.10 3,285 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,337 6/14/2022
3.4.2 1,104 5/13/2022
3.4.1 1,088 5/5/2022
3.4.0 4,112 3/14/2022
3.3.15 8,619 12/27/2021
3.3.14 2,759 10/26/2021
3.3.13 784 9/30/2021
3.3.12 809 8/30/2021
3.3.11 711 7/22/2021
3.3.10 861 6/4/2021
3.3.9 820 5/7/2021
3.3.8 830 4/7/2021
3.3.7 806 3/24/2021
3.3.6 860 3/19/2021
3.3.5 720 3/1/2021
3.3.4 3,369 2/11/2021
3.3.3 719 2/3/2021
3.3.2 813 1/21/2021
3.3.1 795 1/20/2021
3.3.0 892 11/20/2020
3.2.21 752 11/13/2020
3.2.20 898 11/8/2020
3.2.19 853 10/23/2020
3.2.18 859 10/21/2020
3.2.17 947 9/20/2020
3.2.16 853 9/7/2020
3.2.15 892 8/30/2020
3.2.14 848 8/20/2020
3.2.13 956 7/27/2020
3.2.12 844 7/13/2020
3.2.11 942 6/28/2020
3.2.10 955 6/14/2020
3.2.9 947 6/3/2020
3.2.7 951 5/4/2020
3.2.6 962 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 908 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 806 12/7/2018
2.0.0 757 11/28/2018
1.1.0 882 9/10/2018
1.0.18 926 8/10/2018
1.0.17 886 7/30/2018
1.0.16 932 6/29/2018
1.0.15 914 6/27/2018
1.0.14 1,026 6/8/2018
1.0.13 956 6/6/2018
1.0.12 1,047 4/5/2018
1.0.11 953 4/4/2018
1.0.10 1,027 3/27/2018
1.0.9 992 3/26/2018
1.0.8 1,059 2/7/2018
1.0.7 1,014 1/27/2018
1.0.6 1,075 1/8/2018
1.0.5 1,081 12/28/2017
1.0.4 1,118 12/15/2017
1.0.3 1,076 12/8/2017
1.0.2 968 11/30/2017
1.0.1 974 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