ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Excel Namespace / ExcelSaveOptions Class / CollapsedGroupLevel Property

In This Topic
    CollapsedGroupLevel Property
    In This Topic
    Defines the group level at which collapsible group headers will appear collapsed in a saved file.
    Syntax
    'Declaration
     
    
    Public Property CollapsedGroupLevel As Integer
    public int CollapsedGroupLevel {get; set;}
    Remarks
    The level is a zero-based. Value 0 means that first-level group headers will be collapsed, 1 means that first-level group headers will be expanded while second-level groups will be collapsed, and so on.

    A negative value means that all groups at any level will be expanded.

    The default value is 0.

    See Also