Skip to content

ItemsCommands #8200

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

ItemsCommands #8200

wants to merge 2 commits into from

Conversation

miloush
Copy link
Contributor

@miloush miloush commented Sep 11, 2023

Description

This is a new feature introducing built-in set of commands applicable to collection(view) of items.

This will enable controls to implement sorting and grouping using commands, and specifically allow DataGrid to sustainably handle sorting using keyboard instead of #6873.

This PR implements API proposal #8199.

Customer Impact

Without taking this PR, developers will need to create custom solutions to for invoking sorting and grouping. These can be user-defined commands, however, these would not be available to built-in controls shipping with WPF.

Regression

No.

Testing

Compiled and tested with 8.0.100-preview.7.23376.3, that the commands can be parsed from XAML, bound to keyboard shortcuts and executed on various targets using explicit buttons as well as shortcuts, including modified DataGrid.

Risk

Theis is a new class with static members not affecting any existing functionality.

Microsoft Reviewers: Open in CodeFlow

@miloush miloush requested a review from a team as a code owner September 11, 2023 17:27
@ghost ghost assigned miloush Sep 11, 2023
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Sep 11, 2023
@ghost ghost requested review from dipeshmsft and singhashish-wpf September 11, 2023 17:27
@ghost ghost added the Community Contribution A label for all community Contributions label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Review Requested Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant