Closed
Description
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:
control.GetBindingExpression(Control.TargetProperty)
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.