FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / SaveColumnLayout Method
System.Xml.XmlWriter that will receive the current column layout information.

In This Topic
    SaveColumnLayout Method
    In This Topic
    Saves the current column layout to an System.Xml.XmlWriter.
    Syntax
    'Declaration
     
    Public Sub SaveColumnLayout( _
       ByVal xw As XmlWriter _
    ) 
    public void SaveColumnLayout( 
       XmlWriter xw
    )

    Parameters

    xw
    System.Xml.XmlWriter that will receive the current column layout information.
    Remarks

    The column layout string defines the column positions, visibility, and width. Invalid information in the column layout string is ignored.

    This property can be used to persist column layouts defined by users so they are preserved across sessions, and it can also be used to implement undo/redo functionality in applications that allow users to modify the column layout.

    See Also