Back to Devexpress

GridSummaryItem Properties

windowsforms-devexpress-dot-xtragrid-dot-gridsummaryitem-dot-underscore-properties.md

latest2.7 KB
Original Source

GridSummaryItem Properties

Represents a footer summary item.

NameDescription
CollectionGets a collection to which the summary item belongs.
DisplayFormatGets or sets the display format rule for the GridSummaryItem value. An empty string to apply the default format rule.
FieldNameGets or sets the name of a dataset field whose values are used for summary calculation.
FormatGets or sets the IFormatProvider object which specifies how values should be formatted.
HasValueReturns whether the GridSummaryItem has a non- null value.
IndexGets the summary item’s position within the owning collection.
ModeGets or sets whether to calculate the current summary against all rows or the selection. Use this property when you enable multiple row selection (see ColumnView.OptionsSelection.MultiSelect). This property is not supported in server mode.
SummaryTypeGets or sets the aggregation function type.
SummaryValueGets the total summary item’s calculated value. If the AutoUpdateTotalSummary setting is disabled, this value may not reflect the latest View data. To ensure the summary is up to date, call the GridView.UpdateTotalSummary method to forcibly recalculate summaries.
TagGets or sets data associated with the summary item.

See Also

GridSummaryItem Class

GridSummaryItem Members

DevExpress.XtraGrid Namespace