SharpImg.System.Windows.Forms.Controls
1.0.5001
See the version list below for details.
dotnet add package SharpImg.System.Windows.Forms.Controls --version 1.0.5001
NuGet\Install-Package SharpImg.System.Windows.Forms.Controls -Version 1.0.5001
<PackageReference Include="SharpImg.System.Windows.Forms.Controls" Version="1.0.5001" />
paket add SharpImg.System.Windows.Forms.Controls --version 1.0.5001
#r "nuget: SharpImg.System.Windows.Forms.Controls, 1.0.5001"
// Install SharpImg.System.Windows.Forms.Controls as a Cake Addin #addin nuget:?package=SharpImg.System.Windows.Forms.Controls&version=1.0.5001 // Install SharpImg.System.Windows.Forms.Controls as a Cake Tool #tool nuget:?package=SharpImg.System.Windows.Forms.Controls&version=1.0.5001
System.Windows.Forms.Controls
This package includes types and controls that were removed from System.Windows.Forms in .NET Core 3.1/.NET 5 and later versions.
According to Microsoft documentation, starting with .NET Core 3.1, various Windows Forms controls are no longer available:
- ContextMenu
- DataGrid
- DataGrid.HitTestType
- DataGridBoolColumn
- DataGridCell
- DataGridColumnStyle
- DataGridLineStyle
- DataGridParentRowsLabelStyle
- DataGridPreferredColumnWidthTypeConverter
- DataGridTableStyle
- DataGridTextBox
- DataGridTextBoxColumn
- GridColumnStylesCollection
- GridTablesFactory
- GridTableStylesCollection
- IDataGridEditingService
- IMenuEditorService
- MainMenu
- Menu
- Menu.MenuItemCollection
- MenuItem
- ToolBar
- ToolBarAppearance
- ToolBarButton
- ToolBar.ToolBarButtonCollection
- ToolBarButtonClickEventArgs
- ToolBarButtonStyle
- ToolBarTextAlign
- StatusBar
- StatusBarDrawItemEventArgs
- StatusBarDrawItemEventHandler
- StatusBarPanel
- StatusBarPanelAutoSize
- StatusBarPanelBorderStyle
- StatusBarPanelClickEventArgs
- StatusBarPanelClickEventHandler
- StatusBarPanelStyle
It's suggested you upgrade your code to replace legacy controls, but if case your projects include many Windows Forms containing deprecated controls you can use the controls with minimal code changes.
Since it is impossible to use extension properties in .NET, extension methods should be used instead of properties:
Control type:
- ContextMenu ContextMenu { get; set; } replace to GetContextMenu(), SetContextMenu(ContextMenu value) methods
Form type:
- MainMenu Menu { get; set; } replace to GetMenu(), SetMenu(MainMenu value) methods
- MainMenu MergedMenu { get; } replace to GetMergedMenu(MainMenu value) methods
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 was computed. 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. net6.0-windows7.0 is compatible. net7.0 was computed. 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. net7.0-windows7.0 is compatible. 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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net7.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
This project is based on Microsoft code.