alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class BaseComponent

    A Base Component for all the Syncfusion Blazor UI components.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    BaseComponent
    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.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.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public abstract class BaseComponent : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    BaseComponent()

    Declaration
    protected BaseComponent()

    Properties

    DotNetObjectRef

    Declaration
    protected DotNetObjectReference<object>? DotNetObjectRef { get; set; }
    Property Value
    Type
    DotNetObjectReference<object>

    EditContext

    Declaration
    [JsonIgnore]
    [CascadingParameter]
    protected EditContext? EditContext { get; set; }
    Property Value
    Type
    EditContext

    jsProperty

    Declaration
    protected virtual string? jsProperty { get; set; }
    Property Value
    Type
    string

    jsRuntime

    Declaration
    [Inject]
    protected IJSRuntime? jsRuntime { get; set; }
    Property Value
    Type
    IJSRuntime

    mainParent

    Declaration
    protected virtual BaseComponent? mainParent { get; set; }
    Property Value
    Type
    BaseComponent

    nameSpace

    Declaration
    protected virtual string? nameSpace { get; set; }
    Property Value
    Type
    string

    uniqueId

    Declaration
    protected int uniqueId { get; set; }
    Property Value
    Type
    int

    Methods

    CreateJsAdaptor()

    Declaration
    protected virtual JSInteropAdaptor CreateJsAdaptor()
    Returns
    Type
    JSInteropAdaptor

    Dispose()

    Declaration
    public virtual void Dispose()

    GetDataManager(object, string?)

    Declaration
    protected object GetDataManager(object dataSource, string? key = null)
    Parameters
    Type Name Description
    object dataSource
    string key
    Returns
    Type
    object

    OnAfterRenderAsync(bool)

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    bool firstRender
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnAfterRenderAsync(bool)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    Refresh()

    Declaration
    public void Refresh()

    WireObservableEvents(object)

    Declaration
    protected virtual void WireObservableEvents(object collection)
    Parameters
    Type Name Description
    object collection

    clearClientChanges(bool)

    Declaration
    protected void clearClientChanges(bool clearBindables = false)
    Parameters
    Type Name Description
    bool clearBindables

    getSerializedModel()

    Declaration
    protected virtual string getSerializedModel()
    Returns
    Type
    string

    getUpdateModel(bool)

    Declaration
    protected virtual string getUpdateModel(bool isInit = false)
    Parameters
    Type Name Description
    bool isInit
    Returns
    Type
    string

    Implements

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