Replies: 12 comments 12 replies
-
The bolded/italicized text is not true in .NET Core/5/6 in the case of the Ribbon (see #262 ). |
Beta Was this translation helpful? Give feedback.
-
Hi @Tape-Worm, I've tried it (see video), but here this works (NET 6). BCk5LfiaWG.mp4 |
Beta Was this translation helpful? Give feedback.
-
Just putting this here... |
Beta Was this translation helpful? Give feedback.
-
There seems to be some kind of movement on this topic: |
Beta Was this translation helpful? Give feedback.
-
Looks like a hard nut to speculate about atm... |
Beta Was this translation helpful? Give feedback.
-
@Smurf-IV @Wagnerp , Thread: dotnet/winforms#7073 |
Beta Was this translation helpful? Give feedback.
-
Looks like a lot of folks are waiting on this. So.. fingers crossed... |
Beta Was this translation helpful? Give feedback.
-
Trying to use net48 causes the majority of my program to break (it complains I can't use the C#8 and later features). Not sure if this is considered a great workaround. |
Beta Was this translation helpful? Give feedback.
-
Have MS finally enabled Designers ?? |
Beta Was this translation helpful? Give feedback.
-
I think it does. |
Beta Was this translation helpful? Give feedback.
-
Topic start updated with an article from vs magazine. |
Beta Was this translation helpful? Give feedback.
-
Two articles from Klaus Loeffelmann (who is working on this). A must read to become familiar with the matter.
State of the OOP Windows Forms Designer for .NET Applications (OOP == Out Of Process):
https://devblogs.microsoft.com/dotnet/state-of-the-windows-forms-designer-for-net-applications/
Data binding with the OOP Windows Forms Designer:
https://devblogs.microsoft.com/dotnet/databinding-with-the-oop-windows-forms-designer/
The Microsoft WinForms Designer SDK NuGet package:
https://www.nuget.org/packages/Microsoft.WinForms.Designer.SDK
The package will be needed for third party component designers & editors to work with the OOP Designer.
The package/SDK lacks documentation. Which has been announced by Loeffelmann around the end of March 2022.
Discussions on GitHub specific to this topic:
https://github.com/dotnet/winforms/discussions?discussions_q=label%3A%22area%3A+VS+designer%22
Added 12-05-2022
https://devblogs.microsoft.com/dotnet/custom-controls-for-winforms-out-of-process-designer/
Added 10-25-2022
Seems to be some movement going one. This thread could be one to watch.
Thread: Specific: dotnet/winforms#7073
Specific: dotnet/winforms#7073 (comment)
Sample(s): https://github.com/KlausLoeffelmann/NetControlDesigners
Possible and limited work-a-round
As per documentation for net48 the .NET Framework designer is used in Visual Studio.
<Project Sdk="Microsoft.NET.Sdk">
style project format (.csproj).<TargetFramework>
element tags to<TargetFrameworks>
<TargetFrameworks>
This only works as long as the form component(s) used are .NET Framework compatible.
At runtime custom editors can start under the different .NET versions since this condition only exists within Visual Studio.
So even if components can not be edited visually they can programmatically. Also the (custom/third party) Editors work at runtime when launched from a property-grid. Which leaves the option to configure/add components at runtime from code.
Added 3-8-2024
An article on VS Magazine
https://visualstudiomagazine.com/Articles/2024/02/28/winforms-update.aspx
The discussion has been opened to discuss & collect information over time and make it available here in the topic start.
Beta Was this translation helpful? Give feedback.
All reactions