Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToastTemplates - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ToastTemplates

    Configure templates to display within a header, content, and footer section of Toast.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    ToastTemplates
    Namespace: Syncfusion.Blazor.Notifications
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ToastTemplates : SfBaseComponent

    Constructors

    ToastTemplates()

    Declaration
    public ToastTemplates()

    Properties

    Content

    Defines the toast content template

    Declaration
    public RenderFragment Content { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    Template

    Defines the toast template

    Declaration
    public RenderFragment Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    Title

    Defines the toast title template

    Declaration
    public RenderFragment Title { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved