My intention is to create mediaelement objects on the fly at runtime using MyString (which can contains other wpf elements as well).
But at runtime this statement cause an error:
Expected Results
string with content like
<MediaElement ... />
Sample Code
using Unosquare.FFME;
namespace MyExample
{
public class MySerialization
{
public static XmlDocument To_Xml()
{
string MyString = XamlWriter.Save(new Unosquare.FFME.MediaElement());
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(MyString);
return xmlDoc;
}
}
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Serialization causes an exception !
Issue Categories
[V ] Feature Request [V] Question
Version Information
Steps to Reproduce
string MyString = XamlWriter.Save(new Unosquare.FFME.MediaElement());
My intention is to create mediaelement objects on the fly at runtime using MyString (which can contains other wpf elements as well). But at runtime this statement cause an error:
Expected Results
string with content like <MediaElement ... />
Sample Code
using Unosquare.FFME; namespace MyExample { public class MySerialization { public static XmlDocument To_Xml() { string MyString = XamlWriter.Save(new Unosquare.FFME.MediaElement()); XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(MyString); return xmlDoc; } } }