LoadLayout(Stream) Method
Load control layout properties from the stream.
Following code shows how to use this method.
// save comboBox properties to a MemoryStream object.
MemoryStream m = new MemoryStream();
C1ComboBox comboBox = new C1ComboBox();
comboBox.Items.Add(new C1ComboBoxItem("test1"));
comboBox.Items.Add(new C1ComboBoxItem("test2"));
comboBox.SaveLayout(m);
// load from stream.
C1ComboBox comboBox2 = new C1ComboBox();
comboBox2.LoadLayout(m);