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

Updated ToggleSplitButton.IsChecked to bind TwoWay by default, same as ToggleButton. #12584

Merged

Conversation

billhenn
Copy link
Contributor

@billhenn billhenn commented Aug 18, 2023

What does the pull request do?

Changes the ToggleSplitButton.IsChecked property to bind TwoWay by default.

What is the current behavior?

It was binding one way by default.

What is the updated/expected behavior with this PR?

It should be binding two way by default, same as the similar ToggleButton already does.

How was the solution implemented (if it's not obvious)?

Changed prop def.

Checklist

N/A.

Breaking changes

The only break would be if someone wanted to have one way bind behavior (old default). But that's not typically expected with a toggle button.

Obsoletions / Deprecations

None.

Fixed issues

None.

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0038546-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@robloo
Copy link
Contributor

robloo commented Aug 18, 2023

Thanks! This was missed with the initial port.

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0038558-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Aug 18, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 18, 2023
@danwalmsley danwalmsley added this pull request to the merge queue Aug 19, 2023
Merged via the queue into AvaloniaUI:master with commit f16ab2f Aug 19, 2023
6 checks passed
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.

None yet

5 participants