GridGroupSummaryItem Members

Represents an individual group summary item.

Constructors

Name Description
GridGroupSummaryItem() Creates a new GridGroupSummaryItem object with default settings.
GridGroupSummaryItem(SummaryItemType, String, GridColumn, String) Creates a new GridGroupSummaryItem object with predefined summary settings.
GridGroupSummaryItem(SummaryItemType, String, GridColumn, String, Object) Creates a new GridGroupSummaryItem object with predefined summary settings and tag.

Properties

Name Description
Collection Gets a collection to which the summary item belongs. Inherited from GridSummaryItem.
DisplayFormat Gets or sets the display format rule for the GridSummaryItem value. An empty string to apply the default format rule. Inherited from GridSummaryItem.
FieldName Gets or sets the name of a dataset field whose values are used for summary calculation. Inherited from GridSummaryItem.
Format Gets or sets the IFormatProvider object which specifies how values should be formatted. Inherited from GridSummaryItem.
HasValue Returns whether the GridSummaryItem has a non-null value. Inherited from GridSummaryItem.
Index Gets the summary item's position within the owning collection. Inherited from GridSummaryItem.
Mode
ShowInGroupColumnFooter Gets or sets the column whose group footer cells should display summary values.
ShowInGroupColumnFooterName Gets or sets the name of the column whose group footer cells should display summary values.
SummaryType Gets or sets the aggregation function type. Inherited from GridSummaryItem.
SummaryValue Gets the current total summary item's value. This value may differ from the actual View data if the GridOptionsBehavior.AutoUpdateTotalSummary setting is disabled. Call the GridView.UpdateTotalSummary method to forcibly recalculate summaries. Inherited from GridSummaryItem.
Tag Gets or sets data associated with the summary item. Inherited from GridSummaryItem.

Methods

Name Description
Assign(GridSummaryItem) Copies settings of the specified group summary item object to the current one.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetDefaultDisplayFormat() Returns the default display format for the group summary item.
GetDisplayFormatByType(SummaryItemType, Boolean) Returns the default format string for the specified summary type. Inherited from GridSummaryItem.
GetDisplayText(Object, Boolean) Formats the specified value using the summary item's format settings. Inherited from GridSummaryItem.
GetFormatDisplayText(String, Object) Returns the value formatted according to the specified format string. Inherited from GridSummaryItem.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsEquals(GridSummaryItem) Indicates whether the specified group summary item has the same settings as the current one.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetSummary(SummaryItemType, String) Specifies the type and display format of the summary item. Inherited from GridSummaryItem.
SetSummary(SummaryItemType, String, IFormatProvider, SummaryMode) Inherited from GridSummaryItem.
ToString() Gets the object's text representation. Inherited from GridSummaryItem.
See Also