I have created my own UserControl \"ClockControl\", which I initialize through the main window\'s XAML.
The only problem is that I have to pass a parameter to the co
This is done with the use of DependencyProperty's, however not via the constructor. Just by adding properties to the control itself and using them from the code-behind.
Have a read of the following in regards to DependencyProperty's:
As a visual note, what this will allow you to do is the following, and then use it in the code-behind: