LoadLayout(String,LayoutType) Method
Loads control layout properties with specified types from the file.
Following code shows how to use this method.
C1ComboBox comboBox = new C1ComboBox();
comboBox.Items.Add(new C1ComboBoxItem("test1"));
comboBox.Items.Add(new C1ComboBoxItem("test2"));
string path = "c:\comboBox.xml";
// the comboBox is saved in comboBox.xml
comboBox.SaveLayout(path);
// load from comboBox.xml, only properties with Appearance category is loaded.
C1ComboBox comboBox2 = new C1ComboBox();
comboBox2.LoadLayout(path, LayoutType.Appearance);