SaveLayout(Stream) Method
Saves control layout properties to 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);