Provide value on 'System.Windows.Data.Binding' threw an exception Provide value on 'System.Windows.Data.Binding' threw an exception wpf wpf

Provide value on 'System.Windows.Data.Binding' threw an exception


I think it is related to default binding mode for TextBox.Text which is TwoWay, and for that Path is required. You can try and set Mode="OneWay" as an attribute in the Binding tag that should work here but I am not completely sure about your overall requirement.