Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding SelectionMode to TabStrip #18109

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nickodei
Copy link
Contributor

@nickodei nickodei commented Feb 3, 2025

What does the pull request do?

This implements #17969. In essence, it exposes the SelectionMode property to make the selection mode configurable and it disables the behavior that the first item is always selected. This mimics the behavior of the ListBox.

What is the current behavior?

First item is always selected and you can't change the SelectionMode.

What is the updated/expected behavior with this PR?

I updated the ControlCatalog to allow to "play" with the settings:

image

Checklist

Fixed issues

Implements #17969

@nickodei nickodei marked this pull request as draft February 3, 2025 15:57
@nickodei
Copy link
Contributor Author

nickodei commented Feb 3, 2025

Should I add the same key behaviors as the ListBox? (e.g. Moving with Navigation-Keys or Control to select specific items)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant