skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

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

    Mobile

    UI for .NET MAUI

    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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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
    • 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 ValueCalculationsViewModel

A view-model that encapsulates the editing of a TotalFormat for a Value's Description.

Inheritance
System.Object
ViewModelBase
DialogViewModel
PivotSettingsViewModel
PivotResultsViewModel
ValueCalculationsViewModel
Inherited Members
PivotResultsViewModel.DetachFromServices()
PivotResultsViewModel.ExecuteRefresh(Object)
PivotResultsViewModel.DataProvider
PivotSettingsViewModel.TryExecuteOnDispatcher(Action)
PivotSettingsViewModel.PivotSettings
DialogViewModel.Dispose(Boolean)
DialogViewModel.IsWorking
DialogViewModel.RequiresRefresh
DialogViewModel.IsAvailable
DialogViewModel.Ok
DialogViewModel.Cancel
DialogViewModel.Refresh
DialogViewModel.Completed
DialogViewModel.Canceled
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.InvokeOnUIThread(Action)
ViewModelBase.Dispose()
ViewModelBase.RaisePropertyChanged(String)
ViewModelBase.OnPropertyChanged(String)
ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewModelBase.PropertyChanged
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll

Syntax

public sealed class ValueCalculationsViewModel : PivotResultsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel

Properties

AvailableCalculationOptions

Gets a list of CalculationOptions available for selection.

Declaration
public IList<CalculationOption> AvailableCalculationOptions { get; }
Property Value
System.Collections.Generic.IList<CalculationOption>

AvailableGroupDescriptions

Gets a list of the Label items available for selection in SelectedGroupDescription.

Declaration
public IList<IGroupDescription> AvailableGroupDescriptions { get; }
Property Value
System.Collections.Generic.IList<IGroupDescription>

AvailableGroupNames

Gets a lists of System.Object items available for selection in SelectedGroupName.

Declaration
public IList<object> AvailableGroupNames { get; }
Property Value
System.Collections.Generic.IList<System.Object>

RequiresGroupDescription

Gets a value that indicates if the SelectedCalculationOption requires selection of base label.

Declaration
public bool RequiresGroupDescription { get; }
Property Value
System.Boolean

RequiresGroupName

Gets a value that indicates if the SelectedCalculationOption requires selection of base item.

Declaration
public bool RequiresGroupName { get; }
Property Value
System.Boolean

SelectedCalculationOption

Gets or sets the selected CalculationOption.

Declaration
public CalculationOption SelectedCalculationOption { get; set; }
Property Value
CalculationOption

SelectedGroupDescription

Gets or sets the selected Label used in the setup of some group filters.

Declaration
public IGroupDescription SelectedGroupDescription { get; set; }
Property Value
IGroupDescription

SelectedGroupName

Gets or sets the available base item used in the setup of some group filters.

Declaration
public object SelectedGroupName { get; set; }
Property Value
System.Object

Methods

AttachToServices()

Attach to the new services.

Declaration
protected override void AttachToServices()
Overrides
PivotResultsViewModel.AttachToServices()

CanExecuteOk(Object)

Checks if the Ok System.Windows.Input.ICommand can be executed.

Declaration
protected override bool CanExecuteOk(object parameter)
Parameters
System.Object parameter

The parameters.

Returns
System.Boolean

True if System.Windows.Input.ICommand can be executed. Otherwise - false.

Overrides
DialogViewModel.CanExecuteOk(Object)

ExecuteOk(Object)

Handles the Ok execution.

Declaration
protected override void ExecuteOk(object parameter)
Parameters
System.Object parameter

Overrides
DialogViewModel.ExecuteOk(Object)

OnDataProviderResultsChanged()

Declaration
protected override void OnDataProviderResultsChanged()
Overrides
PivotResultsViewModel.OnDataProviderResultsChanged()

OnPivotSettingsChanged()

Handles the PivotSettings changed.

Declaration
protected override void OnPivotSettingsChanged()
Overrides
PivotSettingsViewModel.OnPivotSettingsChanged()

RetrieveServices(IServiceProvider)

Retrieve the services from the serviceProvider. You could use the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context if you do not want the IsAvailable to track your requests.

Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider serviceProvider

The System.IServiceProvider to retrieve services from. This is a slim wrapper around the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context that would keep track of if all requested services were available. If a requested service was unavailable the DialogViewModel's IsAvailable would be set to false.

Overrides
PivotResultsViewModel.RetrieveServices(IServiceProvider)

Extension Methods

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.