Port ToolStripCollectionEditor to the Runtime#12896
Port ToolStripCollectionEditor to the Runtime#12896Tanya-Solyanik merged 5 commits intodotnet:mainfrom
Conversation
There was a problem hiding this comment.
Copilot reviewed 16 out of 35 changed files in this pull request and generated no comments.
Files not reviewed (19)
- src/System.Windows.Forms.Design/src/Resources/SR.resx: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.cs.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.de.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.es.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.fr.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.it.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.ja.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.ko.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.pl.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.pt-BR.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.ru.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.tr.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.zh-Hans.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/SR.zh-Hant.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/ToolStripItemEditorForm.cs.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/ToolStripItemEditorForm.de.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/ToolStripItemEditorForm.es.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/ToolStripItemEditorForm.fr.xlf: Language not supported
- src/System.Windows.Forms.Design/src/Resources/xlf/ToolStripItemEditorForm.it.xlf: Language not supported
| @@ -0,0 +1,630 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <root> | |||
There was a problem hiding this comment.
This file should be added to the loc project
src/System.Windows.Forms.Design/src/Resources/System/WinForms/Design/blank.bmp
Outdated
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Outdated
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Outdated
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.cs
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.cs
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.cs
Show resolved
Hide resolved
...System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripCustomTypeDescriptor.cs
Outdated
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Outdated
Show resolved
Hide resolved
....Design/src/System/Windows/Forms/Design/ToolStripCollectionEditor.ToolStripItemEditorForm.cs
Outdated
Show resolved
Hide resolved
75d4c18 to
8b1915e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12896 +/- ##
===================================================
- Coverage 76.07479% 75.97975% -0.09504%
===================================================
Files 3255 3258 +3
Lines 642151 642970 +819
Branches 47295 47402 +107
===================================================
+ Hits 488515 488527 +12
- Misses 150083 150889 +806
- Partials 3553 3554 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
@LeafShi1 - looks good, could you please test editor behavior in a standalone SystemAware and PerMonitorv2 applications? - Modify the scratch project to contain a toolstrip and a property grid, set selected object in property grid to your ToolStrip, verify if the app is SystemAware or PerMonitorv2 and run it on a scaled monitor. |
|
This is because to discover your new editor this project should reference the implementation file and the appropriate redirection facades I had tested this scenario, PropertyGrid opens this editor in System-Aware mode, so we are good. |
|
Verified the issue with the latest winforms repo from release/10.0-preview2 branch that the ToolStripCollectionEditor is now supported at runtime |



Fixes #2341
Proposed changes
Customer Impact
Regression?
Risk
Screenshots
Before
After
Test methodology
Test environment(s)
Microsoft Reviewers: Open in CodeFlow