ExpertXls Excel Library for .NET
Group Method (groupBy, collapse)
Namespaces ► ExpertXls.ExcelLib ► ExcelRange ► Group(ExcelGroupBy, Boolean)
ExpertXls Excel Library for .NET
Groups the range by rows or columns function of the groupBy parameter.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void Group(
    	ExcelGroupBy groupBy,
    	bool collapse
    )

    Public Sub Group ( _
    	groupBy As ExcelGroupBy, _
    	collapse As Boolean _
    )

    public:
    void Group(
    	ExcelGroupBy groupBy,
    	bool collapse
    )

Parameters

groupBy (ExcelGroupBy)
  Specifies how to group the range, by rows or by columns.

collapse (Boolean)
  Specifies if the group should be collapsed in viewer.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)