-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for relative binding sources to TypedBinding #20415
Merged
rmarinho
merged 3 commits into
dotnet:net9.0
from
simonrozsival:typed-binding-relative-binding-source
Feb 13, 2024
Merged
Add support for relative binding sources to TypedBinding #20415
rmarinho
merged 3 commits into
dotnet:net9.0
from
simonrozsival:typed-binding-relative-binding-source
Feb 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
/rebase |
github-actions
bot
force-pushed
the
typed-binding-relative-binding-source
branch
from
February 12, 2024 01:54
f085d3c
to
d528179
Compare
rmarinho
previously requested changes
Feb 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(122,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(123,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(124,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(245,9): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(246,9): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(247,9): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(248,9): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(257,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(258,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(1022,6): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(1026,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\MultiBindingTests.cs(1027,7): error CS0103: The name 'TypedBindingFactory' does not exist in the current context [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(35,80): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(69,86): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(105,81): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(395,82): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(396,100): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(400,82): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(401,100): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(405,82): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\RelativeSourceBindingTests.cs(406,94): error CS1739: The best overload for 'SetBinding' does not have a parameter named 'source' [D:\a\_work\1\s\src\Controls\tests\Core.UnitTests\Controls.Core.UnitTests.csproj]
5851 Warning(s)
21 Error(s)
StephaneDelcroix
approved these changes
Feb 13, 2024
This was referenced Feb 14, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-xaml
XAML, CSS, Triggers, Behaviors
fixed-in-9.0.0-preview.2.10247
fixed-in-9.0.0-preview.2.10293
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
The TypedBinding class didn't support relative binding sources. I implemented the missing functionality and there is now feature parity between classic Binding and TypedBinding. This will allow us to later compile more bindings in XAML into typed bindings using XamlC.
Issues Fixed
Fixes #20101
/cc @StephaneDelcroix