menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FormTemplate - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FormTemplate

    Gets or sets the template for the form items to provide the custom components.

    Inheritance
    System.Object
    FormTemplate
    Namespace: Syncfusion.Blazor.DataForm
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FormTemplate : OwningComponentBase
    Remarks

    Use this property to customize the appearance and behavior of form items.
    You can include HTML elements or components.

    Constructors

    FormTemplate()

    Declaration
    public FormTemplate()

    Properties

    ChildContent

    Specifies the components to render inside the SfDataForm.

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

    Methods

    Dispose()

    Dispose the unmanaged resources.

    Declaration
    public virtual void Dispose()

    Dispose(Boolean)

    Dispose the unmanaged resources.

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

    Boolean value to dispose the object.

    OnInitializedAsync()

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