Class LocalDataSourceProvider
Provides a pivot grouping access to local source such as an IList of instances of user defined classes.
Inherited Members
Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public class LocalDataSourceProvider : DataProviderBase, IDataProvider, INotifyPropertyChanged, ISupportInitialize, IAggregateDescriptionsGenerator, IUnderlyingDataProvider, ICultureAwareProvider
Constructors
LocalDataSourceProvider()
Initializes a new instance of the Local
Declaration
public LocalDataSourceProvider()
Properties
AggregateDescriptions
Gets a list of Property
Declaration
public Collection<LocalAggregateDescription> AggregateDescriptions { get; }
Property Value
System.
|
CalculatedFields
Gets a list of Calculated
Declaration
public Collection<CalculatedField> CalculatedFields { get; }
Property Value
System.
|
ColumnGroupDescriptions
Gets a list of Property
Declaration
public Collection<PropertyGroupDescriptionBase> ColumnGroupDescriptions { get; }
Property Value
System.
|
Culture
Gets or sets the CultureInfo used for grouping and formatting.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.
|
EnableHierarchy
Gets or sets a boolean value indicating whether nested properties of the objects in the ItemsSource will be displayed in a hierarchy.
Declaration
public bool EnableHierarchy { get; set; }
Property Value
System.
|
FilterDescriptions
Gets a list of Property
Declaration
public Collection<PropertyFilterDescriptionBase> FilterDescriptions { get; }
Property Value
System.
|
ItemsSource
The item source for the grouping.
Declaration
public object ItemsSource { get; set; }
Property Value
System.
|
Results
Declaration
protected override IPivotResults Results { get; }
Property Value
Overrides
RowGroupDescriptions
Gets a list of Property
Declaration
public Collection<PropertyGroupDescriptionBase> RowGroupDescriptions { get; }
Property Value
System.
|
State
Gets the state object that is provided to Get
Declaration
public override object State { get; }
Property Value
System. The object that will be passed to Get |
Overrides
Methods
BlockUntilRefreshCompletes()
Block the calling thread until all calculations performed by calling Refresh() method completes.
Declaration
public override void BlockUntilRefreshCompletes()
Overrides
CreateFieldDescriptionsProvider()
Creates an instance of IField
Declaration
protected override IFieldDescriptionProvider CreateFieldDescriptionsProvider()
Returns
Overrides
GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo)
Creates and returns an aggregate description suitable for the supplied field description.
Declaration
protected override IAggregateDescription GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivot A IPivot |
Returns
IAggregate An IAggregate |
Overrides
GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo)
Returns a filter description suitable for the supplied field description.
Declaration
protected override FilterDescription GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivot A IPivot |
Returns
Filter An Filter |
Overrides
GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo)
Creates and returns a group description suitable for the supplied field description.
Declaration
protected override IGroupDescription GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
Parameters
IPivot A IPivot |
Returns
IGroup An IGroup |
Overrides
GetUnderlyingData(IGroup, IGroup)
Executes underlying data extraction for the specified row and column IGroups.
Declaration
public void GetUnderlyingData(IGroup rowGroup, IGroup columnGroup)
Parameters
Implements
RefreshOverride()
Events
GetUnderlyingDataCompleted
Occurs when the underlying data extraction has completed.
Declaration
public event EventHandler<DrillDownCompletedEventArgs> GetUnderlyingDataCompleted
Event Type
System.
|