MindFusion.UI for WebForms Programmer's Guide

Window.LoadFromXml Method

See Also
 





Loads the control from an XML element.

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

 Syntax

C#  Copy Code

protected virtual Window LoadFromXml (
    XmlElement element,
    XmlPersistContext context
)

Visual Basic  Copy Code

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

 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: Window
The Window.

 Remarks

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

 See Also