25 changed files with 909 additions and 690 deletions
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: Peter Forstmeier |
||||
* Date: 24.05.2013 |
||||
* Time: 20:10 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
using System; |
||||
using System.ComponentModel; |
||||
|
||||
namespace ICSharpCode.Reporting.BaseClasses |
||||
{ |
||||
/// <summary>
|
||||
/// Description of GroupColumn.
|
||||
/// </summary>
|
||||
public class GroupColumn : SortColumn |
||||
{ |
||||
|
||||
public GroupColumn():this("",0,ListSortDirection.Ascending) |
||||
{ |
||||
} |
||||
|
||||
public GroupColumn(string columnName,int groupLevel, ListSortDirection sortDirection):base(columnName,sortDirection) |
||||
{ |
||||
if (GroupLevel < 0) { |
||||
throw new ArgumentException("groupLevel"); |
||||
} |
||||
this.GroupLevel = groupLevel; |
||||
|
||||
} |
||||
|
||||
|
||||
public int GroupLevel {get;private set; |
||||
|
||||
} |
||||
} |
||||
} |
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: Peter Forstmeier |
||||
* Date: 24.05.2013 |
||||
* Time: 20:17 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
using System; |
||||
using ICSharpCode.Reporting.DataManager.Listhandling; |
||||
|
||||
namespace ICSharpCode.Reporting.DataSource.Comparer |
||||
{ |
||||
/// <summary>
|
||||
/// Description of GroupComparer.
|
||||
/// </summary>
|
||||
public class GroupComparer :SortComparer |
||||
{ |
||||
|
||||
public GroupComparer (ColumnCollection owner, int listIndex, object[] values):base(owner,listIndex,values) |
||||
{ |
||||
IndexList = new IndexList(); |
||||
} |
||||
|
||||
public IndexList IndexList {get;set;} |
||||
} |
||||
} |
Loading…
Reference in new issue