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 Top10FilterViewModel

A view-model that encapsulates the editing of Top10 typed filters for a Label's Description.

Inheritance
System.Object
ViewModelBase
DialogViewModel
PivotSettingsViewModel
Top10FilterViewModel
Inherited Members
PivotSettingsViewModel.TryExecuteOnDispatcher(Action)
PivotSettingsViewModel.DetachFromServices()
PivotSettingsViewModel.PivotSettings
DialogViewModel.ExecuteRefresh(Object)
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 Top10FilterViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel

Properties

AvailableFilterTypes

Gets the Telerik.Windows.Controls.FieldList.Editing.Top10FilterTypes available for selection in SelectedFilterType.

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

AvailableSelections

Gets the SortedListSelections available for selection in SelectedSelection.

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

AvailableValueSources

Gets the ValueSourceOption available for selection in SelectedValueSource.

Declaration
public IList<ValueSourceOption> AvailableValueSources { get; }
Property Value
System.Collections.Generic.IList<ValueSourceOption>

Items

Gets or sets the number of items to pass in a Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Items filter.

Declaration
public int Items { get; set; }
Property Value
System.Int32

Percent

Gets or sets the percent of total value to be aggregated by the passing groups in Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Percent filter.

Declaration
public double Percent { get; set; }
Property Value
System.Double

SelectedFilterType

Gets or sets the available Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.

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

SelectedSelection

Gets or sets the selected SortedListSelection.

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

SelectedValueSource

Gets or sets the selected ValueSourceOption.

Declaration
public ValueSourceOption SelectedValueSource { get; set; }
Property Value
ValueSourceOption

Sum

Gets or sets the percent of total value to be aggregated by the passing groups in Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Percent filter.

Declaration
public double Sum { get; set; }
Property Value
System.Double

Methods

AttachToServices()

Attach to the new services.

Declaration
protected override void AttachToServices()
Overrides
PivotSettingsViewModel.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)

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
PivotSettingsViewModel.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.