Class BaseComponent
A Base Component for all the Syncfusion Blazor UI components.
Inheritance
BaseComponent
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
EditContext
Declaration
[JsonIgnore]
[CascadingParameter]
protected EditContext? EditContext { get; set; }
Property Value
jsProperty
Declaration
protected virtual string? jsProperty { get; set; }
Property Value
jsRuntime
Declaration
[Inject]
protected IJSRuntime? jsRuntime { get; set; }
Property Value
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
CreateJsAdaptor()
Declaration
protected virtual JSInteropAdaptor CreateJsAdaptor()
Returns
Dispose()
Declaration
public virtual void Dispose()
GetDataManager(object, string?)
Declaration
protected object GetDataManager(object dataSource, string? key = null)
Parameters
Returns
OnAfterRenderAsync(bool)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
| Type |
Name |
Description |
| bool |
firstRender |
|
Returns
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
Refresh()
Declaration
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
getUpdateModel(bool)
Declaration
protected virtual string getUpdateModel(bool isInit = false)
Parameters
| Type |
Name |
Description |
| bool |
isInit |
|
Returns
Implements