New to Telerik UI for WinForms? Start a free 30-day trial

Base class for obtaining distinct values used by a filter description and notifying subscribers when a refresh is reported complete.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public abstract class DistinctValuesProvider

Inheritance: objectDistinctValuesProvider

Constructors

C#
protected DistinctValuesProvider()

Properties

Gets the distinct values currently supplied for the associated filter description.

C#
public abstract IEnumerable<object> DisctinctValues { get; }

Methods

Raises Updated to signal that this provider's value refresh has completed.

C#
protected void OnUpdated()

Recomputes or retrieves the values used to populate distinct-value filter choices.

C#
public abstract void Refresh()

Implementations can raise Updated when values are ready; a provider may return without raising it when its source data is unavailable.

Events

Occurs when the provider reports completion of a distinct-value update.

C#
public event EventHandler<EventArgs> Updated