ComponentOne FlipCard for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ComboBox Namespace / C1ComboBox Class / SaveLayout Method / SaveLayout(Stream) Method
The stream where the values of layout properties will be saved.
Example

In This Topic
    SaveLayout(Stream) Method
    In This Topic
    Saves control layout properties to the stream.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveLayout( _
       ByVal stream As System.IO.Stream _
    ) 
    public void SaveLayout( 
       System.IO.Stream stream
    )

    Parameters

    stream
    The stream where the values of layout properties will be saved.
    Example
    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);
    See Also