Blazor

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

    Show / Hide Table of Contents

    Class BaseComponent

    A Base Component for all the Syncfusion Blazor UI components.

    Inheritance
    System.Object
    BaseComponent
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public abstract class BaseComponent : OwningComponentBase, IBaseInit

    Constructors

    BaseComponent()

    Declaration
    protected BaseComponent()

    Properties

    DotNetObjectRef

    Declaration
    protected DotNetObjectReference<object> DotNetObjectRef { get; set; }
    Property Value
    Type Description
    Microsoft.JSInterop.DotNetObjectReference<System.Object>

    EditContext

    Declaration
    protected EditContext EditContext { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.Forms.EditContext

    jsProperty

    Declaration
    protected virtual string jsProperty { get; set; }
    Property Value
    Type Description
    System.String

    jsRuntime

    Declaration
    protected IJSRuntime jsRuntime { get; set; }
    Property Value
    Type Description
    Microsoft.JSInterop.IJSRuntime

    mainParent

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

    nameSpace

    Declaration
    protected virtual string nameSpace { get; set; }
    Property Value
    Type Description
    System.String

    uniqueId

    Declaration
    protected int uniqueId { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    clearClientChanges(Boolean)

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

    CreateJsAdaptor()

    Declaration
    protected virtual JSInteropAdaptor CreateJsAdaptor()
    Returns
    Type Description
    Syncfusion.Blazor.Internal.JSInteropAdaptor

    Dispose()

    Declaration
    public virtual void Dispose()

    GetDataManager(Object, String)

    Declaration
    protected object GetDataManager(object dataSource, string key = null)
    Parameters
    Type Name Description
    System.Object dataSource
    System.String key
    Returns
    Type Description
    System.Object

    getSerializedModel()

    Declaration
    protected virtual string getSerializedModel()
    Returns
    Type Description
    System.String

    getUpdateModel(Boolean)

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

    InvokeGet<T>(String, String)

    Declaration
    public Task<T> InvokeGet<T>(string moduleName, string methodName)
    Parameters
    Type Name Description
    System.String moduleName
    System.String methodName
    Returns
    Type Description
    System.Threading.Tasks.Task<T>
    Type Parameters
    Name Description
    T

    InvokeSet<T>(String, String, Object[])

    Declaration
    public Task InvokeSet<T>(string moduleName, string methodName, params object[] methodParams)
    Parameters
    Type Name Description
    System.String moduleName
    System.String methodName
    System.Object[] methodParams
    Returns
    Type Description
    System.Threading.Tasks.Task
    Type Parameters
    Name Description
    T

    OnAfterRenderAsync(Boolean)

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    System.Boolean firstRender
    Returns
    Type Description
    System.Threading.Tasks.Task

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Refresh()

    Declaration
    public void Refresh()

    WireObservableEvents(Object)

    Declaration
    protected virtual void WireObservableEvents(object collection)
    Parameters
    Type Name Description
    System.Object collection
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved