'Declaration Public Overloads Sub LoadLayout( _ ByVal stream As System.IO.Stream _ )
public void LoadLayout( System.IO.Stream stream )
Parameters
- stream
- The stream where the values of layout properties will be loaded.
'Declaration Public Overloads Sub LoadLayout( _ ByVal stream As System.IO.Stream _ )
public void LoadLayout( System.IO.Stream stream )
// 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);