// Retrieve the specified XAML file from the packaged downloader content,
// and create an object reference.
var xamlFragment = slPlugin.content.createFromXamlDownloader(sender, "OK_button.xaml");
// Add the XAML object as a child of the root Canvas object.
var root = sender.findName("rootCanvas");
root.children.add(xamlFragment);