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

Fix parsing of XAML setters when the child isn't a text node #17044

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Sep 17, 2024

What does the pull request do?

This PR fixes a problem introduced by #16153 that was preventing nested elements from being correctly assigned to property setters of primitive types.

The implementation now checks that there is a single parseable text node, instead of taking only the very first one into account.

A unit test has been added.

Fixed issues

@rabbitism
Copy link
Contributor

#17019 This might be fixed as well.

@maxkatz6 maxkatz6 linked an issue Sep 18, 2024 that may be closed by this pull request
@maxkatz6 maxkatz6 merged commit d5fdeb3 into AvaloniaUI:master Sep 18, 2024
9 of 11 checks passed
@MrJul MrJul deleted the fixes/xaml-binding-in-setter branch September 19, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants