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
I had a form that was working...and to replace a dialog, i included all the form content in the SplitView and put the dialog in the pane. All was working till we saw that all previous bindings are broken, also the {Binding ElementName= ??
Steps to reproduce
Take the actual demo form, add bindings between 2 elements
run it, try find the binding error in the output logs
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=test'. BindingExpression:Path=Value; DataItem=null; target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
Change SplitView from Control to ContentControl to fix these binding issues. Introduce also PaneTemplate dependency property and change the Pane property type to object.
Bindings are broken in SplitView
I had a form that was working...and to replace a dialog, i included all the form content in the SplitView and put the dialog in the pane. All was working till we saw that all previous bindings are broken, also the {Binding ElementName= ??
Steps to reproduce
Take the actual demo form, add bindings between 2 elements
run it, try find the binding error in the output logs
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=test'. BindingExpression:Path=Value; DataItem=null; target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')
Environment
Screenshots
The text was updated successfully, but these errors were encountered: