Skip to content

Add a possibility to refresh a binding from the code-behind. #13734

Closed
@VladiStep

Description

@VladiStep

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions