FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / ColumnLayout Property

In This Topic
    ColumnLayout Property
    In This Topic
    Gets or sets a string that defines the current column layout.
    Syntax
    'Declaration
     
    Public Property ColumnLayout As String
    public string ColumnLayout {get; set;}
    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.

    In order for the ColumnLayout property to work correctly, columns should have unique names (see Column.ColumnName property) or binding paths.

    See Also