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 GridViewSummaryItem class.
Declaration
public GridViewSummaryItem(string name, string formatString, string aggregateExpression)
Parameters
|
System.String
name
The name. |
|
System.String
formatString
The format string. |
|
System.String
aggregateExpression
The aggregate expression. |
GridViewSummaryItem(String, String, GridAggregateFunction)
Initializes a GridViewSummaryItem.
Declaration
public GridViewSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
Parameters
|
System.String
name
The name of the column that will be used by the aggregate function. |
|
System.String
formatString
Formatting to be applyed |
|
GridAggregateFunction
aggregate
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
|
GridAggregateFunction
|
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.String
|
FormatString
Gets or sets the formatting string that is applied to the value.
Declaration
public virtual string FormatString { get; set; }
Property Value
|
System.String
|
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.String
|
Methods
Evaluate(IHierarchicalRow)
Evaluates the specified row.
Declaration
public virtual object Evaluate(IHierarchicalRow row)
Parameters
|
IHierarchicalRow
row
The row. |
Returns
|
System.Object
|
GetSummaryExpression()
Gets the summary expression.
Declaration
public string GetSummaryExpression()
Returns
|
System.String
|
OnPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
|
System.ComponentModel.PropertyChangedEventArgs
e
|