-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area-DesignerSupporttenet-compatibilityIncompatibility with previous versions or with WinForms for .NET FrameworkIncompatibility with previous versions or with WinForms for .NET Framework
Description
- .NET Core Version: 5.0 master
- Have you experienced this same bug with .NET Framework?: No
Problem description:
Regression in many (but not all) DesignerAttribute annotations, all attributes have been ported from .NET Framework but a lot of Designer classes they are referencing have not been ported. Discovered during implementation of PR #2230 which is testing the consistency of attribute annotations.
Actual behavior:
[DesignerAttribute] referencing a type which does not exist
Expected behavior:
One of these options needs to be chosen for each designer:
- remove the DesignerAttribute and provide no designer
- remove the DesignerAttribute in WinForms, but port the Designer within VS and add the attribute dynamically in the VS Designer environment
- port the Designer class into WinForms
Which choice to make should be primarily driven by whether you want to support that control being used in a 3rd party designer (requires option 3)
Minimal repro:
PR #2230 test failures when removing skipped entries
List of classes failing the test:
- AxDesigner
- AxHostDesigner
- BindingNavigatorDesigner
- BindingSourceDesigner
ButtonBaseDesignerPort missing designer infra #4860ComboBoxDesignerPort missing designer infra #4860- DataGridViewColumnDesigner
- DataGridViewComboBoxColumnDesigner
- DataGridViewDesigner
DateTimePickerDesignerPort DateTimePickerDesigner to runtime #8549- FlowLayoutPanelDesigner
- FolderBrowserDialogDesigner
GroupBoxDesignerPort missing designer infra #4860- ImageListDesigner
LabelDesignerPort missing designer infra #4860ListBoxDesignerPort missing designer infra #4860ListViewDesignerPort missing designer infra #4860- MonthCalendarDesigner
- NotifyIconDesigner
PanelDesignerPort missing designer infra #4860PictureBoxDesignerPort missing designer infra #4860- PrintDialogDesigner
- PropertyGridDesigner
RadioButtonDesignerPort missing designer infra #4860RichTextBoxDesignerPort missing designer infra #4860- SaveFileDialogDesigner
- SplitContainerDesigner
- SplitterDesigner
- SplitterPanelDesigner
- StatusBarDesigner
- TabControlDesigner
- TabPageDesigner
- TableLayoutPanelDesigner
TextBoxDesignerPort missing designer infra #4860- ToolStripContainerDesigner
- ToolStripContentPanelDesigner
- ToolStripPanelDesigner
- TrackBarDesigner
TreeViewDesignerPort missing designer infra #4860UpDownBaseDesignerPort missing designer infra #4860UserControlDocumentDesignerPort missing designer infra #4860- WebBrowserDesigner
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-DesignerSupporttenet-compatibilityIncompatibility with previous versions or with WinForms for .NET FrameworkIncompatibility with previous versions or with WinForms for .NET Framework