You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In WPF, it's possible to do something like this: textBlock.GetBindingExpression(TextBlock.TextProperty).UpdateSource().
But it seems you can't do that in AvaloniaUI.
Describe the solution you'd like
There should be some alternative to the WPF method I described.
Describe alternatives you've considered
I guess it's needed to rework an existing internal BindingExpression class so that you can get it for a property and then call UpdateSource() on it.
The text was updated successfully, but these errors were encountered:
VladiStep
changed the title
Add a possibility to refresh binding from the code-behind.
Add a possibility to refresh a binding from the code-behind.
Nov 25, 2023
Is your feature request related to a problem? Please describe.
In WPF, it's possible to do something like this:
textBlock.GetBindingExpression(TextBlock.TextProperty).UpdateSource()
.But it seems you can't do that in AvaloniaUI.
Describe the solution you'd like
There should be some alternative to the WPF method I described.
Describe alternatives you've considered
I guess it's needed to rework an existing
internal BindingExpression
class so that you can get it for a property and then callUpdateSource()
on it.The text was updated successfully, but these errors were encountered: