Vanara.Windows.Forms 4.2.1

Prefix Reserved
dotnet add package Vanara.Windows.Forms --version 4.2.1
                    
NuGet\Install-Package Vanara.Windows.Forms -Version 4.2.1
                    
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.Windows.Forms" Version="4.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.Windows.Forms" Version="4.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.Windows.Forms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.Windows.Forms --version 4.2.1
                    
#r "nuget: Vanara.Windows.Forms, 4.2.1"
                    
#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.
#:package Vanara.Windows.Forms@4.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.Windows.Forms&version=4.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Vanara.Windows.Forms&version=4.2.1
                    
Install as a Cake Tool

Vanara

Vanara.Windows.Forms NuGet Package

Version Build status

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.

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 MyGet build. If you're still running into problems, file an issue.

Included in Vanara.Windows.Forms

Classes Structures Enumerations Interfaces
AccessControlEditorDialog ActivationContext AttributedComponentDesigner AttributedComponentDesignerEx AttributedControlDesigner AttributedControlDesignerEx AttributedDesignerActionList AttributedParentControlDesigner AttributedParentControlDesignerEx AuthenticationBuffer BufferedAnimationPainter BufferedPaint BufferedPainter ButtonClickedEventArgs ButtonExtension CollapsiblePanel ComboBoxExtension CommandLink ComponentDesignerExtension ControlExtension ControlImage CredentialsDialog CursorExtension CustomButton CustomComboBox CustomDrawBase DesignerActionMethodAttribute DesignerActionPropertyAttribute DesignerVerbAttribute DesktopWindowManager DisabledItemComboBox DrawPattern EditorServiceContext EnumComboBox ExpandedEventArgs ExplorerBrowser ExplorerBrowserPaneVisibility FlagCheckedListBox FlagCheckedListBoxItem FlagEnumUIEditor FolderBrowserDialog FolderBrowserDialogInitializedEventArgs GenericProvider GetDuration GlassExtenderProvider GraphicsExtension GroupIconResIndexer IconExtension ImageListExtension ImageResIndexer InputDialog InputDialogItemAttribute InvalidFolderEventArgs IPAddressBox IPAddressFieldChangedEventArgs LabelExtension ListViewExtension ListViewGroupingSet LiveThumbnail MapPointExtension MenuStripMRUManager NavigatedEventArgs NavigatingEventArgs NavigationFailedEventArgs NavigationLog NavigationLogEventArgs NetworkConnectionDialog NetworkDisconnectDialog NotifyIconExtensions PaintAction PasswordValidatorEventArgs PreventShutdownContext ProgressDialog ProgressEventArgs RedirectedDesignerItemAttribute ResourceFile ServiceProviderExtension ShellNamespaceTreeControl ShellNamespaceTreeControlCancelEventArgs ShellNamespaceTreeControlEventArgs ShellNamespaceTreeControlItemLabelEditEventArgs ShellNamespaceTreeControlItemMouseClickEventArgs ShellNamespaceTreeRootList ShellProgressDialog SplitButton SplitMenuEventArgs StringResIndexer Style TaskDialog TaskDialogButton TaskDialogButtonBase TaskDialogButtonCollection TaskDialogProgressBar TaskDialogRadioButton TextBoxExtension ThemedImageDraw ThemedLabel ThemedPanel ThemedTableLayoutPanel TimerEventArgs TrackBarEx TreeViewExtension TypedBehavior TypedDesignerActionList TypedGlyph VerificationClickedEventArgs VistaButtonBase VistaControlExtender VisualStylesRendererExtension VisualTheme TaskDialogResult BitmapProperty BoolProperty CloakingSource CollapsiblePanelBorderCondition CollapsiblePanelHeaderState ColorProperty ControlState EnumProperty ExplorerBrowserContentSectionOptions ExplorerBrowserLoadFlags ExplorerBrowserNavigateOptions ExplorerBrowserNavigationItemCategory ExplorerBrowserViewMode FilenameProperty Flip3DWindowPolicy FolderBrowserDialogOptions FontProperty IconSize IntProperty ItemHitLocation KnownFolder MarginsProperty MetricProperty NonClientRenderingPolicy PaneVisibilityState PartSize PositionProperty ProgressBarState PropertyOrigin RectangleProperty RenderStyle SecurityPageType ShellNamespaceTreeControlAction ShellProgressDialogStyle ShellTreeItemButton ShellTreeItemCheckBoxStyle ShellTreeItemState SizeMode StringProperty TaskDialogButtonDisplay TaskDialogCommonButtons TaskDialogIcon IAccessControlEditorDialogProvider IActionGetItem IDrawingStyle IEnableable
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.Windows.Forms:

Package Downloads
Vanara.Library

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.1 398 9/9/2025
4.2.0 237 8/25/2025
4.1.6 251 6/20/2025
4.1.5 199 6/20/2025
4.1.4 315 6/7/2025
4.1.3 323 4/24/2025
4.1.2 370 4/16/2025
4.1.1 431 3/7/2025
4.1.0 330 3/7/2025
4.0.6 219 2/24/2025
4.0.5 271 2/8/2025
4.0.4 879 9/13/2024
4.0.3 270 8/5/2024
4.0.2 516 6/24/2024
4.0.1 627 4/30/2024
4.0.0 249 3/29/2024
4.0.0-beta2 223 1/22/2024
4.0.0-beta 239 11/20/2023
3.4.17 584 10/18/2023
3.4.16 514 8/7/2023
3.4.15 438 5/18/2023
3.4.14 480 4/15/2023
3.4.13 978 2/4/2023
3.4.12 688 1/15/2023
3.4.11 806 11/15/2022
3.4.10 885 10/25/2022
3.4.9 923 10/3/2022
3.4.8 950 9/16/2022
3.4.7 912 9/3/2022
3.4.6 958 8/7/2022
3.4.5 1,017 7/17/2022
3.4.4 993 7/5/2022
3.4.3 1,032 6/14/2022
3.4.2 1,015 5/13/2022
3.4.1 1,024 5/5/2022
3.4.0 1,147 3/14/2022
3.3.15 748 12/27/2021
3.3.14 894 10/26/2021
3.3.13 801 9/30/2021
3.3.12 824 8/30/2021
3.3.11 814 7/22/2021
3.3.10 856 6/4/2021
3.3.9 876 5/7/2021
3.3.8 873 4/7/2021
3.3.7 855 3/24/2021
3.3.6 793 3/19/2021
3.3.5 780 3/1/2021
3.3.4 767 2/11/2021
3.3.3 769 2/3/2021
3.3.2 880 1/21/2021
3.3.1 868 1/20/2021
3.3.0 958 11/20/2020
3.2.21 855 11/13/2020
3.2.20 961 11/8/2020
3.2.19 901 10/23/2020
3.2.18 920 10/21/2020
3.2.17 1,031 9/20/2020
3.2.16 924 9/7/2020
3.2.15 978 8/30/2020
3.2.14 927 8/20/2020
3.2.13 989 7/27/2020
3.2.12 888 7/13/2020
3.2.11 993 6/28/2020
3.2.10 1,048 6/14/2020
3.2.9 1,012 6/3/2020
3.2.7 1,011 5/4/2020
3.2.6 971 4/21/2020
3.2.5 949 4/15/2020
3.2.4 954 4/12/2020
3.2.3 948 4/1/2020
3.2.2 902 3/24/2020
3.2.1 939 3/17/2020
3.2.0 1,205 2/27/2020
3.1.9 994 1/17/2020
3.1.8 1,007 1/13/2020
3.1.7 1,019 1/6/2020
3.1.6 969 12/12/2019
3.1.5 1,045 11/26/2019
3.1.4 989 11/25/2019
3.1.3 957 11/8/2019
3.1.2 1,009 11/4/2019
3.1.1 910 10/17/2019
3.1.0 1,000 10/3/2019
3.0.1 1,023 9/20/2019
3.0.0 834 8/27/2019
2.3.11 924 6/9/2019
2.3.10 855 6/5/2019
2.3.9 790 5/26/2019
2.3.8 851 5/13/2019
2.3.7 874 4/24/2019
2.3.6 822 4/17/2019
2.3.5 868 4/10/2019
2.3.4 830 3/9/2019
2.3.3 865 3/8/2019
2.3.2 893 2/28/2019
2.3.1 813 2/25/2019
2.3.0 816 2/22/2019
2.2.1 921 2/12/2019
2.2.0 912 2/1/2019
2.1.2 1,329 1/14/2019
2.1.0 1,271 12/15/2018
2.0.1 944 12/7/2018
2.0.0 945 11/28/2018
1.1.0 1,117 9/10/2018
1.0.18 1,125 8/10/2018
1.0.17 1,236 7/30/2018
1.0.16 1,484 6/29/2018
1.0.15 1,444 6/27/2018
1.0.14 1,615 6/8/2018
1.0.13 1,466 6/6/2018
1.0.12 1,498 4/5/2018
1.0.11 1,225 4/4/2018
1.0.10 1,505 3/27/2018
1.0.8 1,507 2/7/2018
1.0.7 1,509 1/27/2018
1.0.6 1,602 1/8/2018
1.0.5 1,585 12/28/2017
1.0.4 1,636 12/15/2017

Currently implements:

Classes
AccessControlEditorDialog, ActivationContext, AttributedComponentDesigner<T>, AttributedComponentDesignerEx<T>, AttributedControlDesigner<T>, AttributedControlDesignerEx<T>, AttributedDesignerActionList, AttributedParentControlDesigner<T>, AttributedParentControlDesignerEx<T>, AuthenticationBuffer, BufferedAnimationPainter, BufferedPaint, BufferedPainter, ButtonClickedEventArgs, ButtonExtension, CollapsiblePanel, ComboBoxExtension, CommandLink, ComponentDesignerExtension, ControlExtension, ControlImage, CredentialsDialog, CursorExtension, CustomButton, CustomComboBox, CustomDrawBase, DesignerActionMethodAttribute, DesignerActionPropertyAttribute, DesignerVerbAttribute, DesktopWindowManager, DisabledItemComboBox, DrawPattern, EditorServiceContext, EnumComboBox, ExpandedEventArgs, ExplorerBrowser, ExplorerBrowserPaneVisibility, FlagCheckedListBox, FlagCheckedListBoxItem, FlagEnumUIEditor<T>, FolderBrowserDialog, FolderBrowserDialogInitializedEventArgs, GenericProvider, GetDuration<T>, GlassExtenderProvider, GraphicsExtension, GroupIconResIndexer, IconExtension, ImageListExtension, ImageResIndexer<T>, InputDialog, InputDialogItemAttribute, InvalidFolderEventArgs, IPAddressBox, IPAddressFieldChangedEventArgs, LabelExtension, ListViewExtension, ListViewGroupingSet<T>, LiveThumbnail, MapPointExtension, MenuStripMRUManager, NavigatedEventArgs, NavigatingEventArgs, NavigationFailedEventArgs, NavigationLog, NavigationLogEventArgs, NetworkConnectionDialog, NetworkDisconnectDialog, NotifyIconExtensions, PaintAction<T>, PasswordValidatorEventArgs, PreventShutdownContext, ProgressDialog, ProgressEventArgs, RedirectedDesignerItemAttribute, ResourceFile, ServiceProviderExtension, ShellNamespaceTreeControl, ShellNamespaceTreeControlCancelEventArgs, ShellNamespaceTreeControlEventArgs, ShellNamespaceTreeControlItemLabelEditEventArgs, ShellNamespaceTreeControlItemMouseClickEventArgs, ShellNamespaceTreeRootList, ShellProgressDialog, SplitButton, SplitMenuEventArgs, StringResIndexer, Style, TaskDialog, TaskDialogButton, TaskDialogButtonBase, TaskDialogButtonCollection<T>, TaskDialogProgressBar, TaskDialogRadioButton, TextBoxExtension, ThemedImageDraw, ThemedLabel, ThemedPanel, ThemedTableLayoutPanel, TimerEventArgs, TrackBarEx, TreeViewExtension, TypedBehavior<T>, TypedDesignerActionList<T>, TypedGlyph<T>, VerificationClickedEventArgs, VistaButtonBase, VistaControlExtender, VisualStylesRendererExtension, VisualTheme

Structures
TaskDialogResult

Enumerations
BitmapProperty, BoolProperty, CloakingSource, CollapsiblePanelBorderCondition, CollapsiblePanelHeaderState, ColorProperty, ControlState, EnumProperty, ExplorerBrowserContentSectionOptions, ExplorerBrowserLoadFlags, ExplorerBrowserNavigateOptions, ExplorerBrowserNavigationItemCategory, ExplorerBrowserViewMode, FilenameProperty, Flip3DWindowPolicy, FolderBrowserDialogOptions, FontProperty, IconSize, IntProperty, ItemHitLocation, KnownFolder, MarginsProperty, MetricProperty, NonClientRenderingPolicy, PaneVisibilityState, PartSize, PositionProperty, ProgressBarState, PropertyOrigin, RectangleProperty, RenderStyle, SecurityPageType, ShellNamespaceTreeControlAction, ShellProgressDialogStyle, ShellTreeItemButton, ShellTreeItemCheckBoxStyle, ShellTreeItemState, SizeMode, StringProperty, TaskDialogButtonDisplay, TaskDialogCommonButtons, TaskDialogIcon