Vanara.Windows.Forms
5.0.5
Prefix Reserved
dotnet add package Vanara.Windows.Forms --version 5.0.5
NuGet\Install-Package Vanara.Windows.Forms -Version 5.0.5
<PackageReference Include="Vanara.Windows.Forms" Version="5.0.5" />
<PackageVersion Include="Vanara.Windows.Forms" Version="5.0.5" />
<PackageReference Include="Vanara.Windows.Forms" />
paket add Vanara.Windows.Forms --version 5.0.5
#r "nuget: Vanara.Windows.Forms, 5.0.5"
#:package Vanara.Windows.Forms@5.0.5
#addin nuget:?package=Vanara.Windows.Forms&version=5.0.5
#tool nuget:?package=Vanara.Windows.Forms&version=5.0.5
![]()
Vanara.Windows.Forms NuGet Package
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<br>ActivationContext<br>AttributedComponentDesigner<br>AttributedComponentDesignerEx<br>AttributedControlDesigner<br>AttributedControlDesignerEx<br>AttributedDesignerActionList<br>AttributedParentControlDesigner<br>AttributedParentControlDesignerEx<br>AuthenticationBuffer<br>BufferedAnimationPainter<br>BufferedPaint<br>BufferedPainter<br>ButtonClickedEventArgs<br>ButtonExtension<br>CollapsiblePanel<br>ComboBoxExtension<br>CommandLink<br>ComponentDesignerExtension<br>ControlExtension<br>ControlImage<br>CredentialsDialog<br>CursorExtension<br>CustomButton<br>CustomComboBox<br>CustomDrawBase<br>DesignerActionMethodAttribute<br>DesignerActionPropertyAttribute<br>DesignerVerbAttribute<br>DesktopWindowManager<br>DisabledItemComboBox<br>DrawPattern<br>EditorServiceContext<br>EnumComboBox<br>ExpandedEventArgs<br>ExplorerBrowser<br>ExplorerBrowserPaneVisibility<br>FlagCheckedListBox<br>FlagCheckedListBoxItem<br>FlagEnumUIEditor<br>FolderBrowserDialog<br>FolderBrowserDialogInitializedEventArgs<br>GenericProvider<br>GetDuration<br>GlassExtenderProvider<br>GraphicsExtension<br>GroupIconResIndexer<br>IconExtension<br>ImageListExtension<br>ImageResIndexer<br>InputDialog<br>InputDialogItemAttribute<br>InvalidFolderEventArgs<br>IPAddressBox<br>IPAddressFieldChangedEventArgs<br>LabelExtension<br>ListViewExtension<br>ListViewGroupingSet<br>LiveThumbnail<br>MapPointExtension<br>MenuStripMRUManager<br>NavigatedEventArgs<br>NavigatingEventArgs<br>NavigationFailedEventArgs<br>NavigationLog<br>NavigationLogEventArgs<br>NetworkConnectionDialog<br>NetworkDisconnectDialog<br>NotifyIconExtensions<br>PaintAction<br>PasswordValidatorEventArgs<br>PreventShutdownContext<br>ProgressDialog<br>ProgressEventArgs<br>RedirectedDesignerItemAttribute<br>ResourceFile<br>ServiceProviderExtension<br>ShellNamespaceTreeControl<br>ShellNamespaceTreeControlCancelEventArgs<br>ShellNamespaceTreeControlEventArgs<br>ShellNamespaceTreeControlItemLabelEditEventArgs<br>ShellNamespaceTreeControlItemMouseClickEventArgs<br>ShellNamespaceTreeRootList<br>ShellProgressDialog<br>SplitButton<br>SplitMenuEventArgs<br>StringResIndexer<br>Style<br>TaskDialog<br>TaskDialogButton<br>TaskDialogButtonBase<br>TaskDialogButtonCollection<br>TaskDialogProgressBar<br>TaskDialogRadioButton<br>TextBoxExtension<br>ThemedImageDraw<br>ThemedLabel<br>ThemedPanel<br>ThemedTableLayoutPanel<br>TimerEventArgs<br>TrackBarEx<br>TreeViewExtension<br>TypedBehavior<br>TypedDesignerActionList<br>TypedGlyph<br>VerificationClickedEventArgs<br>VistaButtonBase<br>VistaControlExtender<br>VisualStylesRendererExtension<br>VisualTheme<br> | TaskDialogResult<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | BitmapProperty<br>BoolProperty<br>CloakingSource<br>CollapsiblePanelBorderCondition<br>CollapsiblePanelHeaderState<br>ColorProperty<br>ControlState<br>EnumProperty<br>ExplorerBrowserContentSectionOptions<br>ExplorerBrowserLoadFlags<br>ExplorerBrowserNavigateOptions<br>ExplorerBrowserNavigationItemCategory<br>ExplorerBrowserViewMode<br>FilenameProperty<br>Flip3DWindowPolicy<br>FolderBrowserDialogOptions<br>FontProperty<br>IconSize<br>IntProperty<br>ItemHitLocation<br>KnownFolder<br>MarginsProperty<br>MetricProperty<br>NonClientRenderingPolicy<br>PaneVisibilityState<br>PartSize<br>PositionProperty<br>ProgressBarState<br>PropertyOrigin<br>RectangleProperty<br>RenderStyle<br>SecurityPageType<br>ShellNamespaceTreeControlAction<br>ShellProgressDialogStyle<br>ShellTreeItemButton<br>ShellTreeItemCheckBoxStyle<br>ShellTreeItemState<br>SizeMode<br>StringProperty<br>TaskDialogButtonDisplay<br>TaskDialogCommonButtons<br>TaskDialogIcon<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | IAccessControlEditorDialogProvider<br>IActionGetItem<br>IDrawingStyle<br>IEnableable<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> |
| Product | Versions 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. net10.0-windows7.0 is compatible. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 6.0.1)
- System.DirectoryServices (>= 6.0.1)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- System.Security.Permissions (>= 6.0.0)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
.NETFramework 4.8
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.6.3)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
net10.0-windows7.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
net6.0
- System.Configuration.ConfigurationManager (>= 8.0.0)
- System.DirectoryServices (>= 8.0.0)
- System.Security.Permissions (>= 8.0.0)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
net7.0
- System.Configuration.ConfigurationManager (>= 8.0.0)
- System.DirectoryServices (>= 8.0.0)
- System.Security.Permissions (>= 8.0.0)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
net8.0-windows7.0
- System.Configuration.ConfigurationManager (>= 10.0.2)
- System.DirectoryServices (>= 10.0.2)
- System.Drawing.Common (>= 10.0.2)
- System.Security.Permissions (>= 10.0.2)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
-
net9.0-windows7.0
- System.Configuration.ConfigurationManager (>= 10.0.2)
- System.DirectoryServices (>= 10.0.2)
- System.Drawing.Common (>= 10.0.2)
- System.Security.Permissions (>= 10.0.2)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.AclUI (>= 5.0.5)
- Vanara.PInvoke.CredUI (>= 5.0.5)
- Vanara.PInvoke.DwmApi (>= 5.0.5)
- Vanara.PInvoke.Mpr (>= 5.0.5)
- Vanara.PInvoke.UxTheme (>= 5.0.5)
- Vanara.Security (>= 5.0.5)
- Vanara.Windows.Extensions (>= 5.0.5)
- Vanara.Windows.Shell (>= 5.0.5)
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 |
|---|---|---|
| 5.0.5 | 245 | 5/16/2026 |
| 5.0.4 | 504 | 4/15/2026 |
| 5.0.3 | 207 | 4/9/2026 |
| 5.0.1 | 235 | 3/11/2026 |
| 5.0.0 | 332 | 1/12/2026 |
| 4.2.1 | 2,071 | 9/9/2025 |
| 4.2.0 | 298 | 8/25/2025 |
| 4.1.6 | 314 | 6/20/2025 |
| 4.1.5 | 253 | 6/20/2025 |
| 4.1.4 | 372 | 6/7/2025 |
| 4.1.3 | 384 | 4/24/2025 |
| 4.1.2 | 422 | 4/16/2025 |
| 4.1.1 | 486 | 3/7/2025 |
| 4.1.0 | 389 | 3/7/2025 |
| 4.0.6 | 290 | 2/24/2025 |
| 4.0.5 | 334 | 2/8/2025 |
| 4.0.4 | 950 | 9/13/2024 |
| 4.0.3 | 340 | 8/5/2024 |
| 4.0.2 | 580 | 6/24/2024 |
| 4.0.1 | 737 | 4/30/2024 |
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