Loads the control from an XML element.
Namespace: MindFusion.UI.WebAssembly: MindFusion.UI.Web
protected MenuItem LoadFromXml ( XmlElement element, XmlPersistContext context)
Protected Function LoadFromXml( _ element As XmlElement, _ context As XmlPersistContext _) As MenuItem
Type: XmlElementA System.Xml.XmlElement containing the item's data.
Type: XmlPersistContextAn XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.
Type: MenuItemThe MenuItem.
This method is invoked when an item is being deserialized from a file saved in XML format.
MenuItem MembersMenuItem ClassMindFusion.UI.Web Namespace