dotnet/winforms
Ver no GitHubThe up and down arrows are not disabled when selecting the first or the last member in Images Collection Editor
Open
#3.152 aberto em 28 de abr. de 2020
:beetle: bug:construction: work in progresshelp wanted
Métricas do repositório
- Stars
- (4.100 stars)
- Métricas de merge de PR
- (Mesclagem média 14d 22h) (56 fundiu PRs em 30d)
Description
-
.NET Core Version: 5.0.100-preview.5.20227.13
-
Have you experienced this same bug with .NET Framework?: Yes
Problem description:
The up and down arrows are not disabled when selecting the first or the last member.

Expected behavior:
The up arrow should be disabled when selecting the first member.
The down arrow should be disabled when selecting the last member.

More info:
- This issue also can reproduce with .Net Core 3.1.
- This issue also can reproduce for MonthCalndar/ListView/TabControl/treeView controls.
Minimal repro:
- Create a winforms core project.
- Add a propertyGrid and a ImageList controls to form designer.
- Add this code in the construction method of form: propertyGrid1.SelectedObject = imageList1;
- Run the core project.
- Find the Images property of ImageList, click the Browser button to show the Images Collection Editor.
- Click the Add button to add 4 images in it, then select the last member.
- Observe the down arrows on the right of the images.
Or
- Run the attached project. TestApp.zip
- Do the above step 5-7.