New to Telerik UI for WinFormsStart a free 30-day trial

A base class for various FieldInfo classes presenting local sources. An implementation of IFieldDescriptionProvider.

Definition

Namespace:Telerik.Pivot.Core.Fields

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public abstract class LocalFieldDescriptionsProviderBase : FieldDescriptionProviderBase, IFieldDescriptionProvider

Inheritance: objectFieldDescriptionProviderBaseLocalFieldDescriptionsProviderBase

Derived Classes: LocalDataSourceFieldDescriptionsProviderQueryableFieldDescriptionsProvider

Implements: IFieldDescriptionProvider

Inherited Members FieldDescriptionProviderBase.IsBusyFieldDescriptionProviderBase.GetDescriptionsDataAsyncCompleted

Constructors

C#
protected LocalFieldDescriptionsProviderBase()

Properties

Gets the object which FieldDescriptions are generated.

C#
public object CurrentState { get; protected set; }

Gets or sets a boolean value indicating whether field descriptions will be generated for nested properties of the objects.

C#
public bool EnableHierarchy { get; set; }

Methods

Retrieves the DescriptionsData for data source.

C#
protected abstract IFieldInfoData GenerateDescriptionsData()
Returns:

IFieldInfoData

DescriptionsData instance.

Retrieves information about all available field descriptions. This method does not block the calling thread.

C#
public override void GetDescriptionsDataAsync(object state)
Parameters:stateobject

Overrides: FieldDescriptionProviderBase.GetDescriptionsDataAsync(object)

Gets the field description hierarchy.

C#
protected virtual ContainerNode GetFieldDescriptionHierarchy(IEnumerable<IPivotFieldInfo> fieldInfos)
Parameters:fieldInfosIEnumerable<IPivotFieldInfo>

Collection of IPivotFieldInfo instances.

Returns:

ContainerNode

Raise GetDescriptionsDataAsyncCompleted event.

C#
protected override void OnDescriptionsDataCompleted(GetDescriptionsDataCompletedEventArgs args)
Parameters:argsGetDescriptionsDataCompletedEventArgs

The event args used to invoke the event.

Overrides: FieldDescriptionProviderBase.OnDescriptionsDataCompleted(GetDescriptionsDataCompletedEventArgs)