New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Configures a measure's hierarchical name and optional KPI rendering type.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotDataSourceMeasureDescriptorBuilder

Inheritance: objectPivotDataSourceMeasureDescriptorBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the PivotDataSourceMeasureDescriptorBuilder class.

C#
public PivotDataSourceMeasureDescriptorBuilder(PivotDataSourceMeasureDescriptor measure)
Parameters:measurePivotDataSourceMeasureDescriptor

The measure descriptor to update.

Methods

Sets the hierarchical name of the measure to load.

C#
public PivotDataSourceMeasureDescriptorBuilder Name(string name)
Parameters:namestring

The hierarchical name of the measure.

Returns:

PivotDataSourceMeasureDescriptorBuilder

The PivotDataSourceMeasureDescriptorBuilder object to support method chaining.

Sets how the measure is rendered. Use status for the KPI status template or trend for the KPI trend template. If omitted, the data cell template is used.

C#
public PivotDataSourceMeasureDescriptorBuilder Type(string type)
Parameters:typestring

The rendering type: status or trend.

Returns:

PivotDataSourceMeasureDescriptorBuilder

The PivotDataSourceMeasureDescriptorBuilder object to support method chaining.