GridViewSummaryItem
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
This is the default constructor of GridViewSummaryItem
public GridViewSummaryItem()
Initializes a GridViewSummaryItem.
public GridViewSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
The name of the column that will be used by the aggregate function.
formatStringstringFormatting to be applied
aggregateGridAggregateFunctionthe aggregate that will be used by the SumaryInfo
Initializes a new instance of the GridViewSummaryItem class.
Properties
Gets or sets the aggregate function that will be used with this summary info.
public virtual GridAggregateFunction Aggregate { get; set; }
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.
[Browsable(false)]
public string AggregateExpression { get; set; }
Gets or sets the formatting string that is applied to the value.
public virtual string FormatString { get; set; }
Methods
Evaluates the specified row.
public virtual object Evaluate(IHierarchicalRow row)
The row.
Returns:Gets the summary expression.
Raises the PropertyChanged event
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
A PropertyChangedEventArgs instance containing event data.
Overrides: