Repository navigation
Open
Labels
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomersgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/breaking-change 💥Categorizes an issue or PR as requiring a breaking change to be fixed.kind/enhancementNew feature or requestno-repro
Description
uno/src/Uno.UI/UI/Xaml/DependencyObjectStore.Binder.cs
Lines 197 to 223 in 5597644
| /// <summary> | |
| /// Restores the bindings that may have been cleared by <see cref="ClearBindings()"/>. | |
| /// </summary> | |
| /// <remarks> | |
| /// Calling this method will specifically restore <see cref="UI.Xaml.Data.Binding.ElementName"/> | |
| /// and <see cref="UI.Xaml.Data.Binding.Source"/> bindings, which are not restored as part of the | |
| /// normal <see cref="DataContext"/> change flow. | |
| /// </remarks> | |
| public void RestoreBindings() | |
| { | |
| } | |
| /// <summary> | |
| /// Clears the bindings for the current binder. | |
| /// </summary> | |
| /// <remarks> | |
| /// This method is used as an out-of-band replacement for setting the DataContext to null, which | |
| /// in the case of two-way bindings, would send the fallback value if it has been set. | |
| /// This method may also clear <see cref="UI.Xaml.Data.Binding.ElementName"/> | |
| /// and <see cref="UI.Xaml.Data.Binding.Source"/> bindings, which need to be restored | |
| /// using the <see cref="RestoreBindings()"/> method. | |
| /// </remarks> | |
| public void ClearBindings() | |
| { | |
| } |
These should be deleted.
The generated code in DependencyObjectGenerator will need to be adjusted as well.
Metadata
Metadata
Assignees
Labels
difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomersgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/breaking-change 💥Categorizes an issue or PR as requiring a breaking change to be fixed.kind/enhancementNew feature or requestno-repro
Activity
mnajibi commentedon Oct 6, 2023
Hi there! 👋
I noticed the issue #13046 in this repository, and I'm eager to contribute to its resolution. My name is Maryam.
Could you please assign this issue to me? I'm excited to dive in and start working on it. If there are any specific details or requirements I should be aware of, please let me know.
Looking forward to contributing to this project!
Thanks,
Maryam
Fix issue unoplatform#13046: Remove empty methods RestoreBindings and…
jeromelaban commentedon Oct 10, 2023
@MartinZikmund I don't think we'll be able to place this one in 5.0, we're late in the cycle.
@mnajibi Thanks for working on this one, though we've placed it in the wrong bucket at this time. Your change is correct, but we're not able to include it in our current master branch.
Thanks for trying out contributing to Uno Platform!
sasakrsmanovic commentedon Oct 10, 2023
@mnajibi Thanks for engaging. I'd love to see if there are any other issues you are interested in and to see how we can help you. Its great to see a fellow Canadian contribute. Most of our team is in Montreal and I am in Toronto.
github-actions commentedon Aug 10, 2025
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
[-]Remove empty methods `RestoreBindings` and `ClearBindings`[/-][+][Breaking] Remove empty methods `RestoreBindings` and `ClearBindings`[/+]MartinZikmund commentedon Aug 11, 2025
Still relevant
mohamed-osman-se commentedon Oct 2, 2025
I'd like to work on this issue. Could you please assign it to me?
sasakrsmanovic commentedon Oct 2, 2025
done - let us know if you need help along the way - drop by at https://platform.uno/discord - there is a channel for contributors there
fix: remove empty RestoreBindings and ClearBindings methods
refactor(binding)!: Remove no-op Clear/RestoreBindings (BC49)
refactor(binding)!: Remove no-op Clear/RestoreBindings (BC49)