[]
Represents the group data model.
public class GroupDataModel : BaseSheetDataModel, INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IChartSupport, ICanSerializeXml, ISerializeSupport, IGroupFooterSupport, IGroupSupport2, IGroupSupport, ISheetDataModel, IDeserializationCallback, IMapper
Public Class GroupDataModel
Inherits BaseSheetDataModel
Implements INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IChartSupport, ICanSerializeXml, ISerializeSupport, IGroupFooterSupport, IGroupSupport2, IGroupSupport, ISheetDataModel, IDeserializationCallback, IMapper
| Name | Description |
|---|---|
| GroupDataModel() | Creates a new group data model. |
| GroupDataModel(ISheetDataModel) | Creates a new group data model for the specified sheet data model. |
| GroupDataModel(ISheetDataModel, bool, DefaultGroupFooterCollection) | Creates a new group data model for the specified sheet data model. |
| Name | Description |
|---|---|
| CanSerializeXml | Gets whether the entire object can be saved to XML and successfully loaded again. |
| ColumnCount | Gets the number of columns in the group. |
| GroupComparer | Gets the group comparer. |
| GroupFooterVisible | Gets or sets whether the group footer is displayed. |
| Groups | Gets the list of top-level group objects. |
| NonEmptyColumnCount | Gets the number of columns in the model that contain data (bound or unbound). |
| NonEmptyRowCount | Gets the number of rows in the model that contain data (bound or unbound). |
| RowCount | Gets the number of rows in the group. |
| SortInfo | Gets the sorting information for the group. |
| SuspendGrouping | Gets or sets whether the grouping is suspended. |
| TargetModel | Gets the sheet data model for the group target. |
| Name | Description |
|---|---|
| Deserialize(XmlNodeReader) | Loads the object from XML. |
| Dispose() | Disposes this object. |
| FireChanged(int, int) | Raises the Changed event. |
| FireChanged(int, int, int, int) | Raises the Changed event. |
| GetColumnName(int) | Gets the name of the specified column in the group. |
| GetGroup(int) | Gets the group associated with the specified row. |
| GetGroupFooter(int) | Gets a group footer for a specified row. |
| GetIndex(int) | Gets the model index of the group data model from the specified row. |
| GetItem(int) | Gets the item in the specified row. |
| GetModelIndexFromTargetIndex(int) | Gets the group data model index from the target index. |
| GetNote(int, int) | Gets a user-defined note value for the cell of the specified row and column. |
| GetTag(int, int) | Gets an application-defined tag value for the cell of the specified row and column. |
| GetValue(int, int) | Gets the value from the cell in the group. |
| Group(SortInfo[]) | Groups the rows with the specified sort information. |
| Group(SortInfo[], IComparer) | Groups the rows with the specified sort information and specified comparer. |
| IsEditable(int, int) | Determines whether the cell in the group is editable. |
| IsEmpty() | Determines whether the data model is empty. |
| IsGroup(int) | Determines whether the specified row is a group header (also called group node). |
| IsGroupFooter(int) | Determines if the specified row is a group footer. |
| IsRowUsed(int) | Determines whether the specified row has data (is not empty). |
| NextNonEmptyColumnInRow(int, int) | Gets the index of the next column in a specified row that contains data. |
| NextNonEmptyRow(int) | Gets the index of the next row that contains data. |
| OnChanged(SheetDataModelEventArgs) | Raises the Changed event, and permits derived classes to handle the event without attaching a delegate. |
| OnDeserialization(object) | Runs when the entire object graph has been deserialized. |
| OnMapperUpdating(MapperUpdatingEventArgs) | Raises the mapper updating event. |
| Serialize(XmlTextWriter) | Saves the object to XML. |
| SetNote(int, int, string) | Sets a user-defined note value for the cell at the specified row and column. |
| SetTag(int, int, object) | Sets an application-defined tag value for the cell of the specified row and column. |
| SetValue(int, int, object) | Sets the value of the cell in the group. |
| Sort(SortInfo[]) | Sorts the rows (after the Grouped event) according to the specified sorting information. |
| Name | Description |
|---|---|
| MapperUpdating | Occurs when the user makes a change to the target model that causes the mapper to be updated. |