public void ExecuteExportXaml()
        {
            // Generate Xaml
            var xaml = _xamlGenerator.GenerateXaml(Width, Height, _shapes);

            // Package into message
            var msg = new XamlExportMessage();

            msg.Xaml = xaml.Result;

            // Raise Message
            MessengerInstance.Send(msg);
        }
 private void HandleExport(XamlExportMessage msg)
 {
     Xaml = msg.Xaml;
 }