MindFusion.UI for WebForms Programmer's Guide

MenuItem.LoadFromXml Method

See Also
 





Loads the control from an XML element.

Namespace: MindFusion.UI.Web
Assembly: MindFusion.UI.Web

 Syntax

C#  Copy Code

protected MenuItem LoadFromXml (
    XmlElement element,
    XmlPersistContext context
)

Visual Basic  Copy Code

Protected Function LoadFromXml( _
    element As XmlElement, _
    context As XmlPersistContext _
) As MenuItem

 Parameters

element

Type: XmlElement
A System.Xml.XmlElement containing the item's data.

context

Type: XmlPersistContext
An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.

 Return Value

Type: MenuItem
The MenuItem.

 Remarks

This method is invoked when an item is being deserialized from a file saved in XML format.

 See Also