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.
I'm trying to use the new UpdateSourceTrigger=Explicit parameter for some bindings.
At the moment, I can't seem to find a way to access BindingExpressions for existing bindings defined in XAML, but I need that to call BindingExpressionBase.UpdateSource.
Describe the solution you'd like
WPF has a public API to retrieve binding expressions:
I tested 11.1 beta-1. UpdateSourceTrigger.Explicit and BindingExpressionBase.UpdateSource are available as mentioned in PR #13970.
However, I don't think there is currently a way to obtain a reference to a BindingExpressionBase for an existing binding using the public API, so the UpdateSource method can't actually be accessed, as far as I can see.
Is your feature request related to a problem? Please describe.
I'm trying to use the new
UpdateSourceTrigger=Explicit
parameter for some bindings.At the moment, I can't seem to find a way to access BindingExpressions for existing bindings defined in XAML, but I need that to call
BindingExpressionBase.UpdateSource
.Describe the solution you'd like
WPF has a public API to retrieve binding expressions:
Maybe something similar could be implemented.
Describe alternatives you've considered
--
Additional context
#13734 also requested this functionality, and although it was closed, there doesn't seem to be any public API for that particular use case yet.
The text was updated successfully, but these errors were encountered: