Skip to content

Support designer capabilities at runtime #4908

@RussKie

Description

@RussKie

Context

The Windows Forms SDK consist of two distinct parts – the runtime (the code that executes, open sourced in this repo) and the designer (consists of the "general purpose" and "Visual Studio-specific" components, close sourced). In .NET Framework these two parts lived together, and that allowed customers to invoke and use VS-specific functionality. Skip forward to .NET Core/.NET and these two components are now split and evolve (for the most part) independently of each other.

The more and more customers are starting to migrate their apps to .NET the more we see the demand to the missing designer capabilities to be ported over to .NET (e.g. #1395, #2573, #4456, #4886, #4887, AB#1314797).

In scope:

However we need to port the general purpose designer infrastructure – i.e. API that enable building "a designer that the user can embed in their application". For example, a user might have a business application that contains a report designer feature, which can use our "general designer" framework.

  • The following designers are currently available (though may have restricted or incomplete functionality):

  • The following designers are missing and will be ported in scope of Port missing designer infra #4860:

    • System.Windows.Forms.Design.ButtonBaseDesigner
    • System.Windows.Forms.Design.ControlDesigner
    • System.Windows.Forms.Design.DocumentDesigner - functionality restored
    • System.Windows.Forms.Design.LabelDesigner
    • System.Windows.Forms.Design.ParentControlDesigner - functionality restored
    • System.Windows.Forms.Design.ScrollableControlDesigner - functionality restored
    • System.Windows.Forms.Design.TextBoxDesigner
    • System.Windows.Forms.Design.ComboBoxDesigner
    • System.Windows.Forms.Design.GroupBoxDesigner
    • System.Windows.Forms.Design.ListBoxDesigner
    • System.Windows.Forms.Design.ListViewDesigner
    • System.Windows.Forms.Design.PanelDesigner
    • System.Windows.Forms.Design.PictureBoxDesigner
    • System.Windows.Forms.Design.RadioButtonDesigner
    • System.Windows.Forms.Design.RichTextBoxDesigner
    • System.Windows.Forms.Design.TreeViewDesigner Port TreeNodeCollectionEditor to core #11221
    • System.Windows.Forms.Design.UpDownBaseDesigner
    • System.Windows.Forms.Design.UserControlDocumentDesigner

Open for consideration

The following API may be considered for porting upon significant demand and real use cases.

Out of scope

Metadata

Metadata

Assignees

Labels

area-DesignerSupportepicGroups multiple user stories. Can be grouped under a theme.priority-2Work that is important, but not critical for the releasetenet-compatibilityIncompatibility with previous versions or with WinForms for .NET Framework

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions