Class GridViewSummaryItem
Represents a summary item.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewSummaryItem : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
Constructors
GridViewSummaryItem()
This is the default constructor of GridViewSummaryItem
Declaration
public GridViewSummaryItem()
GridViewSummaryItem(String, String, String)
Initializes a new instance of the Grid
Declaration
public GridViewSummaryItem(string name, string formatString, string aggregateExpression)
Parameters
System. The name. |
System. The format string. |
System. The aggregate expression. |
GridViewSummaryItem(String, String, GridAggregateFunction)
Initializes a GridViewSummaryItem.
Declaration
public GridViewSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
Parameters
System. The name of the column that will be used by the aggregate function. |
System. Formatting to be applyed |
Grid the aggregate that will be used by the SumaryInfo |
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 propery has higher precedence compared to the Aggregate property which is obsolete.
Declaration
public string AggregateExpression { get; set; }
Property Value
System.
|
FormatString
Gets or sets the formatting string that is applied to the value.
Declaration
public virtual string FormatString { get; set; }
Property Value
System.
|
Name
Gets or sets the name of the column that will be used by the aggregate function.
Declaration
public virtual string Name { get; set; }
Property Value
System.
|
Methods
Evaluate(IHierarchicalRow)
Evaluates the specified row.
Declaration
public virtual object Evaluate(IHierarchicalRow row)
Parameters
IHierarchical The row. |
Returns
System.
|
GetSummaryExpression()
Gets the summary expression.
Declaration
public string GetSummaryExpression()
Returns
System.
|
OnPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.
|