Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewTemplates

    Show / Hide Table of Contents

    Class PivotViewTemplates

    Configures pivot component templates.

    Inheritance
    System.Object
    PivotViewTemplates
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PivotViewTemplates : OwningComponentBase

    Constructors

    PivotViewTemplates()

    Declaration
    public PivotViewTemplates()

    Properties

    CellTemplate

    Render custom template for pivot cell. It renders along with the value text.

    Declaration
    public RenderFragment<AxisSet> CellTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<AxisSet>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context.

    SpinnerTemplate

    Allows the appearance of the loading indicator to be customized with HTML that can be used to displayed with custom formats in the pivot table.

    Declaration
    public RenderFragment<object> SpinnerTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context.

    ToolbarTemplate

    Render custom toolbar using ToolbarTemplate property. It replaces the in-built toolbar and click actions must be handled in custom toolbar itself.

    Declaration
    public RenderFragment<object> ToolbarTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context.

    TooltipTemplate

    Render custom template for pivot table tooltip displayed with custom formats either by mouse hovering or by touch in the pivot table.

    Declaration
    public RenderFragment<PivotTooltipTemplateContext> TooltipTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<PivotTooltipTemplateContext>
    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context.

    Methods

    Dispose(Boolean)

    Dispose unmanaged resources in the Blazor component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean value to dispose the object.

    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
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved