GrapeCity.Win.MultiRow.v80 アセンブリ > GrapeCity.Win.MultiRow 名前空間 : MathStatistics クラス |
Public NotInheritable Class MathStatistics Implements ICalculation
public sealed class MathStatistics : ICalculation
private SummaryCell CreateTotalSummaryCell() { // Calculate sum of sub-total in all rows. SummaryCell summaryCell = new SummaryCell(); summaryCell.Name = "Total"; summaryCell.Calculation = new MathStatistics(StatisticsType.Sum, "SubTotal", true); summaryCell.Style.Format = "C"; summaryCell.Style.BackColor = Color.Wheat; return summaryCell; }
Private Function CreateTotalSummaryCell() As SummaryCell ' Calculate sum of sub-total in all rows. Dim summaryCell As New SummaryCell() summaryCell.Name = "Total" summaryCell.Calculation = New MathStatistics(StatisticsType.Sum, "SubTotal", True) summaryCell.Style.Format = "C" summaryCell.Style.BackColor = Color.Wheat Return summaryCell End Function
System.Object
GrapeCity.Win.MultiRow.MathStatistics