to date I have created and setup bindings and dependencies between controls and other objects when they are located within the same directory or within the same xaml document.
Now I have created a usercontrol which is located in a directory of my project called "Controls" this control is then loaded within the main xaml document using the tag
my question is how do I go about setting up bindings between the objects within the user control and objects within the main xaml document.
An example of this would be if I have a textbox within my user control and within the main xaml page I have a checkbox. When the checkbox is clicked I want to set the visibility of the the textbox to Collapsed.
As I said I have been able to do this when both objects are within the same document But now since the text field is placed inside a user control and within a directory I am unsure of how to reference it.
Thank you