Class PivotViewCalculatedFieldSetting
Represents a calculated field definition for the PivotView. Provides configuration to create a calculated field from the bound data source or to define a formula using basic arithmetic operators.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewCalculatedFieldSetting : PivotCalculatedFieldSetting, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
Use this component inside PivotViewCalculatedFieldSettings to declare a calculated field. Set the Formula property to an expression
and the FormatString property to control value formatting. The component's values are propagated to the parent data source settings.
Constructors
PivotViewCalculatedFieldSetting()
Declaration
public PivotViewCalculatedFieldSetting()
Methods
Dispose(bool)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |