ClassGridViewSummaryItem
Represents a summary item.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewSummaryItem : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
Inheritance: objectNotifyPropertyBaseGridViewSummaryItem
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewSummaryItem()
This is the default constructor of GridViewSummaryItem
Declaration
public GridViewSummaryItem()
GridViewSummaryItem(string, string, GridAggregateFunction)
Initializes a GridViewSummaryItem.
Declaration
public GridViewSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
Parameters
name
The name of the column that will be used by the aggregate function.
formatString
Formatting to be applied
aggregate
the aggregate that will be used by the SumaryInfo
GridViewSummaryItem(string, string, string)
Initializes a new instance of the GridViewSummaryItem class.
Properties
Aggregate
Gets or sets the aggregate function that will be used with this summary info.
Declaration
public virtual GridAggregateFunction Aggregate { get; set; }
Property Value
AggregateExpression
Gets or sets the aggregate expression. This property essentially replaces the Aggregate property by providing advanced expressions compared to single function. This property has higher precedence compared to the Aggregate property which is obsolete.
Declaration
[Browsable(false)]
public string AggregateExpression { get; set; }
Property Value
FormatString
Gets or sets the formatting string that is applied to the value.
Declaration
public virtual string FormatString { get; set; }
Property Value
Methods
Evaluate(IHierarchicalRow)
Evaluates the specified row.
Declaration
public virtual object Evaluate(IHierarchicalRow row)
Parameters
row
The row.
Returns
GetSummaryExpression()
Gets the summary expression.
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
A PropertyChangedEventArgs instance containing event data.
Overrides