To use this custom control in a XAML file in another project, complete the following steps:
- Add a reference to this project.
- Add the following line to the root element of the XAML file where you wish to use this control:
xmlns:MyNamespace="clr-namespace:UIControls;assembly=UIControls"
- Use the control in the XAML file:
<MyNamespace:CustomControl1/>