diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/ICSharpCode.Reporting.csproj b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/ICSharpCode.Reporting.csproj
index 1ce89393f1..54a2e871b9 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/ICSharpCode.Reporting.csproj
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/ICSharpCode.Reporting.csproj
@@ -85,9 +85,7 @@
-
-
@@ -151,10 +149,12 @@
+
+
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Collections.cs b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Collections.cs
index bbfaa03bc8..9e29c61bee 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Collections.cs
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Collections.cs
@@ -13,6 +13,7 @@ using System.Globalization;
using System.Linq;
using ICSharpCode.Reporting.BaseClasses;
+using ICSharpCode.Reporting.Items;
namespace ICSharpCode.Reporting
{
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/DataManager/Listhandling/CollectionDataSource.cs b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/DataManager/Listhandling/CollectionDataSource.cs
index eafeae7519..62acc59581 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/DataManager/Listhandling/CollectionDataSource.cs
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/DataManager/Listhandling/CollectionDataSource.cs
@@ -6,12 +6,10 @@ using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
-using System.Globalization;
using System.Linq;
using ICSharpCode.Reporting.BaseClasses;
using ICSharpCode.Reporting.DataSource;
-using ICSharpCode.Reporting.DataSource.Comparer;
using ICSharpCode.Reporting.Interfaces;
using ICSharpCode.Reporting.Interfaces.Data;
using ICSharpCode.Reporting.Items;
@@ -21,11 +19,12 @@ namespace ICSharpCode.Reporting.DataManager.Listhandling
///
/// Description of DataSource.
///
- enum OrderGroup {
+ public enum OrderGroup {
AsIs,
Sorted,
Grouped
}
+
public class CollectionDataSource:IDataSource
{
@@ -34,8 +33,8 @@ namespace ICSharpCode.Reporting.DataManager.Listhandling
readonly ReportSettings reportSettings;
readonly Type elementType;
readonly PropertyDescriptorCollection listProperties;
- OrderGroup orderGroup;
-
+// OrderGroup orderGroup;
+
public CollectionDataSource(IEnumerable list, ReportSettings reportSettings)
{
if (list == null)
@@ -47,7 +46,7 @@ namespace ICSharpCode.Reporting.DataManager.Listhandling
this.reportSettings = reportSettings;
this.listProperties = this.baseList.GetItemProperties(null);
- orderGroup = OrderGroup.AsIs;
+ OrderGroup = OrderGroup.AsIs;
}
@@ -67,7 +66,7 @@ namespace ICSharpCode.Reporting.DataManager.Listhandling
this.reportSettings = reportSettings;
this.listProperties = this.baseList.GetItemProperties(null);
- orderGroup = OrderGroup.AsIs;
+ OrderGroup = OrderGroup.AsIs;
}
@@ -94,6 +93,10 @@ namespace ICSharpCode.Reporting.DataManager.Listhandling
public object Current {get; private set;}
+ public OrderGroup OrderGroup {get; private set;}
+
+
+ public IGrouping