Class BaseComponent
A Base Component for all the Syncfusion Blazor UI components.
Inheritance
System.Object
BaseComponent
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 |
Microsoft.JSInterop.DotNetObjectReference<System.Object> |
EditContext
Declaration
protected EditContext EditContext { get; set; }
Property Value
Type |
Microsoft.AspNetCore.Components.Forms.EditContext |
jsProperty
Declaration
protected virtual string jsProperty { get; set; }
Property Value
jsRuntime
Declaration
protected IJSRuntime jsRuntime { get; set; }
Property Value
Type |
Microsoft.JSInterop.IJSRuntime |
mainParent
Declaration
protected virtual BaseComponent mainParent { get; set; }
Property Value
nameSpace
Declaration
protected virtual string nameSpace { get; set; }
Property Value
uniqueId
Declaration
protected int uniqueId { get; set; }
Property Value
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 |
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
getSerializedModel()
Declaration
protected virtual string getSerializedModel()
Returns
getUpdateModel(Boolean)
Declaration
protected virtual string getUpdateModel(bool isInit = false)
Parameters
Type |
Name |
Description |
System.Boolean |
isInit |
|
Returns
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 |
System.Threading.Tasks.Task<T> |
Type Parameters
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 |
System.Threading.Tasks.Task |
Type Parameters
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
System.Boolean |
firstRender |
|
Returns
Type |
System.Threading.Tasks.Task |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
System.Threading.Tasks.Task |
Refresh()
Declaration
WireObservableEvents(Object)
Declaration
protected virtual void WireObservableEvents(object collection)
Parameters
Type |
Name |
Description |
System.Object |
collection |
|