Skip to content

TabPage Collection Editor: Up/Down buttons do not update enabled state correctly for first/last TabPage #14160

Closed

Description

@Olina-Zhang

.NET version

.NET SDK 11.0.100-alpha.1.25619.109

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, not a regression issue

Issue description

In the TabPage Collection Editor dialog, the Up and Down buttons do not reflect the correct enabled/disabled state when the selected TabPage is already at the first or last position.

It also repro in ListViewItem/ColumnHeader/ListViewGroup Collection Editor dialogs

  • When the first TabPage is selected:

Up button should be disabled, but remains enabled.

Image
  • When the last TabPage is selected:

Down button should be disabled, but remains enabled.

Image

This may mislead users into thinking the item can still be moved.

At design time, the behavior is correct(VS properties window to open): Selecting the first TabPage disables the Up button; Selecting the last TabPage disables the Down button
This behavior looks correct and matches user expectations

Image

Steps to reproduce

  1. Create a Winforms .NET project with TabControl & PropertyGrid controls
  2. Select the tabControl1 as object for the propertyGrid1
  3. Build and run app
  4. Open TabPage Collection Editor dialog by using TabPage property in PropertyGrid
  5. Observe the state of the Up/ Down button for first/last TabPage

Activity

  1. added
    untriaged
    on Dec 23, 2025
  2. self-assigned this
    on Dec 24, 2025
  3. removed
    untriaged
    on Jan 6, 2026
  4. Amy-Li03 commented on Sep 4, 2026

    @Amy-Li03
    Contributor

    Tested in the latest .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + built private dls from the main branch of WinForms repo, it was fixed on TabPage/ListViewItem/ColumnHeader/ListViewGroup Collection Editor dialogs.
    Image

  5. added this to the 12.0-preview1 milestone on Sep 4, 2026
  6. locked and limited conversation to collaborators on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions