This might help you I recommend you look into using MVVM for your situation (which is a common one in WPF). What you will end up doing is create a single ViewModel (VM) which will contain your business data (think of it as temporary table). Then you will bind your controls specific data needs directly to properties on the VM.
Nested Binding of UserControls
By : user1765285
Date : March 29 2020, 07:55 AM
will help you I am having trouble getting the following scenario to work (this code is not the actual code but the principals are the same. Basically I need to pass a value down from a MainPage down to a nested "reusable user control" that binds to it's own properties. I want to see the "This is it!" text on the screen but it's not being set in the SilverlightControl2 control (I suspect due to the setting of the DataContext) - but I how do I fix it? , As soon as you find yourself feeling the need to do this:-
Any of those help I would like to bind property from the main window's DataContext, above you can see my UserControls and models. So I want to bind the Model.ID.Label1 and Model.ID.Label2 properties to the main_id/card_1/top and main_id/card_1/bottom controls. I hope it's clear. If I enable the ref_lbl Label it will shows the "lbl1", the card_2 still working with the hardcoded texts but the card_1 will be blank. What should I modify to fix the binding on card_1? , Remove