Load control layout properties from the stream.

Namespace:  C1.Web.UI.Controls.C1ComboBox
Assembly:  C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)

Syntax

C#
public void LoadLayout(
	Stream stream
)
Visual Basic (Declaration)
Public Sub LoadLayout ( _
	stream As Stream _
)

Parameters

stream
Type: System.IO..::..Stream
The stream where the values of layout properties will be loaded.

Implements

IC1SerializableLoadLayout(Stream)

Examples

Following code shows how to use this method.
Copy CodeC#
// 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);

See Also