Loads and creates the component layout from an Xml document object.
[Visual Basic] Public Function LoadLayout( _ ByVal layoutDocument As XmlDocument _ ) As ArrayList [C#] public ArrayList LoadLayout( XmlDocument layoutDocument ); [C++] public: ArrayList* LoadLayout( XmlDocument* layoutDocument ); [JScript] public function LoadLayout( XmlDocument layoutDocument ): ArrayList;
Returns an array list containing the list of errors encountered during LoadLayout.
This method will trigger form deserialization events where you can load the previously stored form level data from the archive. It will also trigger component deserialization event for each of the components saved in the archive. Deserialization event is triggered after the component has been created and positioned.
| Event Type | Reason |
|---|---|
| StartDeserializeForm | Indicates start of form deserialization activity. |
| DeserializeForm | Used for reading custom form level properties from previously serialized layout data. |
| DeserializeComponent | Used for reading custom component level properties from previously serialized layout data. |
| EndDeserializeForm | Indicates end of form deserialization activity. |
FormDesigner Class | Viklele.Win.Designer Namespace | FormDesigner.LoadLayout Overload List | SaveLayout