alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PivotViewTemplates

    Configures pivot component templates.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    PivotViewTemplates
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PivotViewTemplates : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    PivotViewTemplates()

    Declaration
    public PivotViewTemplates()

    Properties

    CellTemplate

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

    Declaration
    [Parameter]
    [JsonIgnore]
    public RenderFragment<AxisSet> CellTemplate { get; set; }
    Property Value
    Type
    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
    [Parameter]
    [JsonIgnore]
    public RenderFragment<object> SpinnerTemplate { get; set; }
    Property Value
    Type
    RenderFragment<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
    [Parameter]
    [JsonIgnore]
    public RenderFragment<object> ToolbarTemplate { get; set; }
    Property Value
    Type
    RenderFragment<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
    [Parameter]
    [JsonIgnore]
    public RenderFragment<PivotTooltipTemplateContext> TooltipTemplate { get; set; }
    Property Value
    Type
    RenderFragment<PivotTooltipTemplateContext>
    Remarks

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

    Methods

    Dispose(bool)

    Dispose unmanaged resources in the Blazor component.

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

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    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
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved