skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AggregateValue

Holds a value presentation of an aggregate function accumulated during pivot grouping.

Inheritance
System.Object
Cloneable
AggregateValue
DoubleAggregateValue
Inherited Members
Cloneable.Clone()
Cloneable.CreateInstanceCore()
Namespace: Telerik.Pivot.Core.Aggregates
Assembly: Telerik.Pivot.Core.dll

Syntax

public abstract class AggregateValue : Cloneable

Constructors

AggregateValue()

Declaration
protected AggregateValue()

Fields

ErrorAggregateValue

Gets an AggregateValue representing error.

Declaration
public static readonly AggregateValue ErrorAggregateValue
Field Value
AggregateValue

Methods

AccumulateOverride(Object)

Add the value to the results in the current AggregateValue instance.

Declaration
protected abstract void AccumulateOverride(object value)
Parameters
System.Object value

The value to accumulate.

CloneCore(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable source

The object to clone.

Overrides
Cloneable.CloneCore(Cloneable)
Remarks

Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

GetValue()

Gets a presentation friendly value of the results in the current AggregateValue.

Declaration
public object GetValue()
Returns
System.Object

Returns an object containing a formatted value or error object.

GetValueOverride()

Gets a presentation friendly value of the results in the current AggregateValue instance to be returned in GetValue(). If an error occurred during calculations the GetValue() will not call GetValueOverride() but return the error instead.

Declaration
protected abstract object GetValueOverride()
Returns
System.Object

A result object.

MergeOverride(AggregateValue)

Merge the results of an AggregateValue with the results in the current AggregateValue instance.

Declaration
protected abstract void MergeOverride(AggregateValue childAggregate)
Parameters
AggregateValue childAggregate

The AggregateValue to merge.

ToString()

Declaration
public override string ToString()
Returns
System.String

Extension Methods

AggregateValueExtensions.TryConvertValue<T>(AggregateValue, out T)
AggregateValueExtensions.ConvertOrDefault<T>(AggregateValue)
AggregateValueExtensions.IsError(AggregateValue)
CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.