Klaus Löffelmann
0f4e03e1e1
[main] Source code updates from dotnet/dotnet ( #13738 )
> [!NOTE]
> This is a codeflow update. It may contain both source code changes
from [the VMR](https://github.com/dotnet/dotnet ) as well as dependency
updates. Learn more
[here](https://github.com/dotnet/dotnet/tree/main/docs/Codeflow-PRs.md ).
This pull request brings the following source code changes
[marker]: <> (Begin:81d064a4-929c-4152-b746-ee3acc24b4ed)
## From https://github.com/dotnet/dotnet
- **Subscription**:
[81d064a4-929c-4152-b746-ee3acc24b4ed](https://maestro.dot.net/subscriptions?search=81d064a4-929c-4152-b746-ee3acc24b4ed )
- **Build**:
[20250725.6](https://dev.azure.com/dnceng/internal/_build/results?buildId=2758127 )
- **Date Produced**: July 25, 2025 10:03:00 PM UTC
- **Commit**:
[2dfd0aa278
](2dfd0aa278
)
- **Commit Diff**:
[c0e325f...2dfd0aa](c0e325f90f
...2dfd0aa278fc5a46c7f5e881584d0895aaac68fc)
- **Branch**: main
**Updated Dependencies**
- From [10.0.0-beta.25373.104 to 10.0.0-beta.25375.106][2]
- Microsoft.DotNet.Arcade.Sdk
- Microsoft.DotNet.CMake.Sdk
- Microsoft.DotNet.GenFacades
- Microsoft.DotNet.Helix.Sdk
- Microsoft.DotNet.RemoteExecutor
- Microsoft.DotNet.XUnitV3Extensions
- From [10.0.0-preview.7.25373.104 to 10.0.0-preview.7.25375.106][2]
- Microsoft.NET.Sdk.IL
- Microsoft.NETCore.App.Ref
- Microsoft.NETCore.ILAsm
- Microsoft.NETCore.ILDAsm
- Microsoft.NETCore.Platforms
- Microsoft.Win32.SystemEvents
- runtime.win-x64.Microsoft.NETCore.ILAsm
- runtime.win-x86.Microsoft.NETCore.ILAsm
- System.CodeDom
- System.Configuration.ConfigurationManager
- System.Formats.Nrbf
- System.IO.Hashing
- System.Reflection.MetadataLoadContext
- System.Resources.Extensions
- System.Runtime.Serialization.Formatters
- System.Text.Encodings.Web
- System.Text.Json
- System.Windows.Extensions
[marker]: <> (End:81d064a4-929c-4152-b746-ee3acc24b4ed)
[1]: https://github.com/dotnet/dotnet/compare/c0e325f90f...87e4c823cc
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13738 )
[2]: https://github.com/dotnet/dotnet/compare/c0e325f90f...2dfd0aa278
[marker]: <> (Start:Footer:CodeFlow PR)
## Associated changes in source repos
-
d777c20040
...0fbc9e8711fa91e68c2bf3db376fb83b46f4ac35
-
60572f1236
...bf1f642be9fe230fed38e10561d4aa9ed5859b8f
-
95da703c5b
...2478ada175a4089ab1310960d2590810e9adc4f9
-
dbc3781d33
...3a3e014313d2c1bddc01b4333886783a7492c652
-
227da60247
...0fe2f4d151b9412a87be13caac8ba1bfaba0d148
-
7906474640
...d7d850097b755b343851f9c5b93325aacb8323aa
-
badb1e827d
...cb3e343b2ca25dbf34f9b6d9f2544cdae73f7481
-
e95e030a87
...d65eb5b36511b6422cbad6e2e140a86831a004d2
-
a69caee31b
...7dd51e626b3787b69d3933a33cf2ce23fc36c576
-
79fc4fd483
...1f60126fb517e342dd563e50bb3cb52f8109f837
-
4aecb59589
...2c9fd5dcffadd0271ffe9e6f14caa09c8a2f2d6a
-
63bb7cbcfa
...fadd60c39d63743cdaeacd2c3f8aa003f5bb7f58
-
714a51c574
...06f47ea69c931a5111d32b1c443d4546db5888f2
-
fef1159af4
...086c9380ad71ac75c8af5d5091d3ad339fc842e1
-
2f666ecda0
...049672a7df90f87cfead427665edc37c37c22ed1
-
642f974222
...858616f3ac5075ff97c49b7f3e676c886f160652
-
66c6797a1e
...fa7beaad398b79ab5fb7b83c150a08433bb5a46b
-
43d52c423e
...fabe4020161ba6c194289c9c963121c948f1f9ea
-
f97214fe5f
...dbcd471883202088496ab81d3ec2d3f3be0981b5
-
7890fbb7f0
...41346681fafc7b7ab31239a77aba00d7c3e71be5
-
d1231b22ac
...3ae5c14d94509e8ffed62d10685ca4a4159754df
[marker]: <> (End:Footer:CodeFlow PR)
1 day ago
dotnet-maestro[bot]
5b5e2557be
Update dependencies from https://github.com/dotnet/dotnet build 276797
Updated Dependencies:
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.CMake.Sdk, Microsoft.DotNet.GenFacades, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.RemoteExecutor, Microsoft.DotNet.XUnitV3Extensions (Version 10.0.0-beta.25374.102 -> 10.0.0-beta.25375.106)
Microsoft.NET.Sdk.IL, Microsoft.NETCore.App.Ref, Microsoft.NETCore.ILAsm, Microsoft.NETCore.ILDAsm, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, runtime.win-x64.Microsoft.NETCore.ILAsm, System.CodeDom, System.Configuration.ConfigurationManager, System.Formats.Nrbf, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Runtime.Serialization.Formatters, System.Text.Encodings.Web, System.Text.Json, System.Windows.Extensions, runtime.win-x86.Microsoft.NETCore.ILAsm (Version 10.0.0-preview.7.25374.102 -> 10.0.0-preview.7.25375.106)
1 day ago
Leaf Shi
770b5a9825
Add judgement for test ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync ( #13712 )
<!-- Please read CONTRIBUTING.md before submitting a pull request -->
Releated #13288
## Proposed changes
- Add judgement for test
ListView_Click_On_Second_Column_Does_Not_Alter_CheckBoxesAsync
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13712 )
2 days ago
dotnet-maestro[bot]
0c95d2334b
Update dependencies from https://github.com/dotnet/dotnet build 276628
Updated Dependencies:
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.CMake.Sdk, Microsoft.DotNet.GenFacades, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.RemoteExecutor, Microsoft.DotNet.XUnitV3Extensions (Version 10.0.0-beta.25373.104 -> 10.0.0-beta.25374.102)
Microsoft.NET.Sdk.IL, Microsoft.NETCore.App.Ref, Microsoft.NETCore.ILAsm, Microsoft.NETCore.ILDAsm, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, runtime.win-x64.Microsoft.NETCore.ILAsm, System.CodeDom, System.Configuration.ConfigurationManager, System.Formats.Nrbf, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Runtime.Serialization.Formatters, System.Text.Encodings.Web, System.Text.Json, System.Windows.Extensions, runtime.win-x86.Microsoft.NETCore.ILAsm (Version 10.0.0-preview.7.25373.104 -> 10.0.0-preview.7.25374.102)
2 days ago
dotnet-maestro[bot]
017c09801c
Merge main into darc-main-3160cf77-41de-41e6-a1d6-ac8060841b97
2 days ago
dotnet-maestro[bot]
91ebb7421e
[main] Source code updates from dotnet/dotnet ( #13737 )
[main] Source code updates from dotnet/dotnet
3 days ago
Jeremy Kuhne
ea5b196346
Create a doc on using new OLE related APIs ( #13735 )
Created an overview document on the new APIs and best practices for using the clipboard and drag and drop.
3 days ago
Djuradj Kurepa
37effbf08c
Add Version.Details.props ( #13734 )
4 days ago
Leaf Shi
3ae6410700
Do not activate the form if MinimumSize changes ( #13715 )
## Proposed changes
- In `UpdateMinimumSize` of Form.cs add `SET_WINDOW_POS_FLAGS.SWP_NOACTIVATE` so that the form is not automatically activated when the `MinimumSize` property changes
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
- Setting MinimumSize will not activate form
## Regression?
- No
4 days ago
dotnet-maestro[bot]
021d7eeaec
[main] Source code updates from dotnet/dotnet ( #13732 )
[main] Source code updates from dotnet/dotnet
4 days ago
dotnet-maestro[bot]
7c0459778c
[main] Source code updates from dotnet/dotnet ( #13719 )
[main] Source code updates from dotnet/dotnet
6 days ago
dotnet-maestro[bot]
79b37b92e5
[main] Source code updates from dotnet/dotnet ( #13718 )
[main] Source code updates from dotnet/dotnet
1 week ago
Leaf Shi (BEYONDSOFT CONSULTING INC)
72a84c0265
Do not activate the form if MinimumSize changes
1 week ago
dotnet-maestro[bot]
fbd28a7afd
[main] Source code updates from dotnet/dotnet ( #13714 )
[main] Source code updates from dotnet/dotnet
1 week ago
v-zhgl
61e6d09186
Add code coverage for ToolStripProfessionalLowResolutionRenderer ( #13691 )
* Add code coverage for ToolStripProfessionalLowResolutionRenderer
* Update ToolStripProfessionalLowResolutionRendererTests.cs
* Update ToolStripProfessionalLowResolutionRendererTests.cs
* Update ToolStripProfessionalLowResolutionRendererTests.cs
* Update ToolStripProfessionalLowResolutionRendererTests.cs
1 week ago
v-zhgl
ecd33a6af8
Add code coverage for DataGridViewImageCell ( #13616 )
* Add code coverage for DataGridViewImageCell
1 week ago
v-zhgl
9f99026763
Add code coverage for DataGridViewComboBoxColumn ( #13617 )
* Add code coverage for DataGridViewComboBoxColumn
1 week ago
dotnet-maestro[bot]
182b5f329c
[main] Source code updates from dotnet/dotnet ( #13710 )
[main] Source code updates from dotnet/dotnet
1 week ago
Klaus Löffelmann
c9252f63c0
Address Graphics state reset issue.
1 month ago
Leaf Shi
118a672f8e
Update SetScreenCaptureModeInternal by reset WINDOW_DISPLAY_AFFINITY to NONE before setting new affinity ( #13684 )
Fixes #13680
## Proposed changes
- Update `SetScreenCaptureModeInternal` by reset `WINDOW_DISPLAY_AFFINITY` to `NONE` before setting new affinity
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
- `FormScreenCaptureMode` still works properly after multiple calls
## Regression?
- Yes
2 weeks ago
Leaf Shi
cd56ae6ce3
Set FormScreenCaptureMode when the Form's Handle is created ( #13696 )
* Set FormScreenCaptureMode when the Form's Handle is created
Fixes #13694
## Root Cause
When a Form object is created, its handle is not created immediately, and the FormScreenCaptureMode property needs to be based on the Form's Handle to take effect.
## Proposed changes
- Cache the `FormScreenCaptureMode` setting and set its value in method `OnHandleCreated`
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
- The setting for `FormScreenCaptureMode` can work well
## Regression?
- No
2 weeks ago
dotnet-maestro[bot]
2932c391bc
[main] Source code updates from dotnet/dotnet ( #13704 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
Epica3055
6dd129e422
remove useless unit test
3 weeks ago
Epica3055
1cb1ba7b7b
use another approach
3 weeks ago
Epica3055
7bbd30152b
Update LinkUtilities.cs
3 weeks ago
Epica3055
27fb637ee7
Update LinkUtilities.cs
3 weeks ago
Epica3055
bacaa074ec
fix #13677 FontStyle.Bold Not Visually Applied to LinkLabel at Runtime via Code
3 weeks ago
Youssef Victor
b4000d28e6
Update Versions.props
2 weeks ago
Youssef Victor
4368592e2e
Update xunit.v3 to 3.0.0-pre.40
3 weeks ago
dotnet-maestro[bot]
7b0de779a6
[main] Source code updates from dotnet/dotnet ( #13701 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
v-olzhan
17857aa725
Add unit test for ListView.CheckedListViewItemCollection file ( #13685 )
* Add unit test for ListView.CheckedListViewItemCollection file
* update
* Update1
* Update2
2 weeks ago
dotnet-maestro[bot]
146cc35d77
[main] Source code updates from dotnet/dotnet ( #13700 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
dotnet-maestro[bot]
77a4d87537
[main] Source code updates from dotnet/dotnet ( #13699 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
v-zhgl
d5b62a713f
Add code coverage for DataGridViewComboBoxCell ( #13654 )
* Add code coverage for DataGridViewComboBoxCell
* Address FeedBacks
2 weeks ago
v-olzhan
a3d902db78
Add unit test for ListView.CheckedIndexCollection file ( #13682 )
Related https://github.com/dotnet/winforms/issues/13442
## Proposed changes
- Add unit test file: ListView.CheckedIndexCollectionTests.cs for
ListView.CheckedIndexCollection.cs file
2 weeks ago
Leaf Shi
32489a2b09
Fix 13633 by correct the logic of the method "OnSelectionChanged" of the ToolStripItemDesigner ( #13695 )
<!-- Please read CONTRIBUTING.md before submitting a pull request -->
Fixes #13633
## Root Cause
The original logic, set the `needRefresh= true` directly when
currentSelection.IsOnDropDown, this should be a bug in the code
transplant process. The original code logic is
[here](https://devdiv.visualstudio.com/DevDiv/_git/VS?path=/src/vsip/Designer/WinForms/System/WinForms/Design/ToolStripItemDesigner.cs&version=GBmain&line=1225&lineEnd=1227&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents ).
## Proposed changes
- Correct the logic of the `OnSelectionChanged `of the
ToolStripItemDesigner
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
- ToolStripTextBox can be focused normally
## Regression?
- No
## Risk
- Minimal
<!-- end TELL-MODE -->
## Screenshots
<!-- Remove this section if PR does not change UI -->
### Before
ToolStripTextBox cannot get focus

### After
ToolStripTextBox can be selected normally

## Test methodology <!-- How did you ensure quality? -->
- Manually
## Test environment(s) <!-- Remove any that don't apply -->
- .net 10.0.0-preview.7.25320.118
<!-- Mention language, UI scaling, or anything else that might be
relevant -->
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13695 )
2 weeks ago
dotnet-maestro[bot]
20324bdbd0
[main] Source code updates from dotnet/dotnet ( #13697 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
dotnet-maestro[bot]
b92d465845
[main] Source code updates from dotnet/dotnet ( #13693 )
[main] Source code updates from dotnet/dotnet
2 weeks ago
Viktor Hofer
52b27760e4
Update global.json ( #13692 )
Use the new paths feature and allow newer SDKs when building
2 weeks ago
Leaf Shi (BEYONDSOFT CONSULTING INC)
dfa7ae37c3
Fix 13633 by correct the logic of the method "OnSelectionChanged" of the ToolStripItemDesigner
2 weeks ago
dotnet-maestro[bot]
e037b05b00
[main] Source code updates from dotnet/dotnet ( #13690 )
Update dependencies from https://github.com/dotnet/dotnet build 274386
Updated Dependencies:
Microsoft.NETCore.Platforms, System.Resources.Extensions, System.Windows.Extensions, Microsoft.NET.Sdk.IL, Microsoft.NETCore.ILAsm, runtime.win-x64.Microsoft.NETCore.ILAsm, runtime.win-x86.Microsoft.NETCore.ILAsm, System.Reflection.MetadataLoadContext, Microsoft.NETCore.ILDAsm, System.Text.Encodings.Web, System.Text.Json, Microsoft.NETCore.App.Ref, System.Runtime.Serialization.Formatters, Microsoft.Win32.SystemEvents, System.CodeDom, System.Configuration.ConfigurationManager, System.Formats.Nrbf, System.IO.Hashing (Version 10.0.0-preview.7.25351.106 -> 10.0.0-preview.7.25358.102)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.GenFacades, Microsoft.DotNet.CMake.Sdk, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.RemoteExecutor, Microsoft.DotNet.XUnitV3Extensions (Version 10.0.0-beta.25351.106 -> 10.0.0-beta.25358.102)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
3 weeks ago
v-zhgl
47b32ab9b8
Add code coverage for DataGridViewButtonCell ( #13667 )
Related https://github.com/dotnet/winforms/issues/13442
## Proposed changes
Add unit test file:DataGridViewButtonCellTest.cs for public/protected
methods of the DataGridViewButtonCellcs
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13667 )
3 weeks ago
v-zhgl
fbba7f43ce
Add code coverage for DesignerUtils ( #13435 )
* Add code coverage for DesignerUtils
3 weeks ago
Leaf Shi (BEYONDSOFT CONSULTING INC)
19e74a50ad
Update SetScreenCaptureModeInternal by reset WINDOW_DISPLAY_AFFINITY to NONE before setting new affinity
3 weeks ago
dotnet-maestro[bot]
8bf9788963
[main] Source code updates from dotnet/dotnet ( #13669 )
[main] Source code updates from dotnet/dotnet
3 weeks ago
Epica3055
f95971e0b3
fix #13599 A warning dialog pops up when trying to switch the values for the FormScreenCaptureMode property ( #13662 )
3 weeks ago
Epica3055
52d3fdf3e7
fix issue #13648 DemoConsole app: The extra number displayed on Name & Text Propeties for the ToolStrip control ( #13650 )
* fix issue #13648 DemoConsole app: The extra number displayed on Name & Text Propeties for the ToolStrip control
* Update NameCreationServiceImp.cs
3 weeks ago
dotnet-maestro[bot]
0d4989295b
[main] Source code updates from dotnet/dotnet ( #13666 )
[main] Source code updates from dotnet/dotnet
4 weeks ago
Ricardo Bossan
285f3b4a78
Unify DesignSurface and TestConsole into DemoConsole ( #13437 )
Fixes #13338
- Renamed files in `DesignSurfaceExt` to match the updated class names
from PR #13433
- Moved all code files from `DesignSurfaceExt` into the `DemoConsole`
project directory
- Integrated all relevant configuration from `DesignSurfaceExt.csproj`
into `DemoConsole.csproj`
- Deleted `DesignSurfaceExt.csproj`
- Merged the contents of `Directory.Build.props` into
`DemoConsole.csproj` to consolidate all settings in one place
- Removed the now redundant `Directory.Build.props` file
- Relocated the `DemoConsole` folder up one level to align with other
integration test projects
- Deleted the now empty `DesignSurfaceExt` folder
- None
- Minimal
- Manual
- 10.0.100-preview.3.25201.16
Co-authored-by: Ricardo Bossan (BEYONDSOFT CONSULTING INC) <v-rbossan@microsoft.com>
4 weeks ago
dotnet-maestro[bot]
363b55750a
[main] Source code updates from dotnet/dotnet ( #13663 )
[main] Source code updates from dotnet/dotnet
4 weeks ago