C1.Web.Wijmo.Controls.C1ComboBox Namespace > C1ComboBox Class > SaveLayout Method : SaveLayout(Stream) Method |
'Declaration
Public Overloads Sub SaveLayout( _ ByVal stream As System.IO.Stream _ )
public void SaveLayout( 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);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2