1 | initial version |
The XAML Designer executes the initialization code of a personalized user interface element when you add it to the design surface. However, if you want to force it to re-execute the initialization code after making changes to it, you can either rebuild your project or simply close and reopen the XAML file containing your element. This will force the XAML Designer to recompile and reload your element, executing its initialization code in the process.