Class BaseRendererControl
Inheritance
System.Object
BaseRendererControl
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class BaseRendererControl : ComponentBase, RefSink, JsonSerializable, IDisposable
Constructors
BaseRendererControl()
Declaration
public BaseRendererControl()
Fields
_cachedSerializedContent
Declaration
protected string _cachedSerializedContent
Field Value
Type |
Description |
System.String |
|
Properties
AdditionalAttributes
Declaration
public Dictionary<string, object> AdditionalAttributes { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
Class
Declaration
public string Class { get; set; }
Property Value
Type |
Description |
System.String |
|
DirectRenderElementName
Declaration
protected virtual string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Height
Declaration
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
IgBlazor
Declaration
protected IIgniteUIBlazor IgBlazor { get; set; }
Property Value
NeedsDynamicContent
Declaration
protected virtual bool NeedsDynamicContent { get; }
Property Value
Type |
Description |
System.Boolean |
|
ParentTypeName
Declaration
protected virtual string ParentTypeName { get; }
Property Value
Type |
Description |
System.String |
|
SupportsVisualChildren
Declaration
protected virtual bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Type
Declaration
public virtual string Type { get; }
Property Value
Type |
Description |
System.String |
|
UseCamelEnumValues
Declaration
protected virtual bool UseCamelEnumValues { get; }
Property Value
Type |
Description |
System.Boolean |
|
UseDirectRender
Declaration
protected virtual bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
builder |
|
BuildSequenceInfo(Int32)
Declaration
protected virtual SequenceInfo BuildSequenceInfo(int startSequence)
Parameters
Type |
Name |
Description |
System.Int32 |
startSequence |
|
Returns
Camelize(String)
Declaration
protected string Camelize(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
EnsureModulesLoaded()
Declaration
protected virtual void EnsureModulesLoaded()
EnsureReady()
Declaration
public Task EnsureReady()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Finalize()
Declaration
protected override void Finalize()
FindByName(String)
Declaration
public virtual object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
InvokeMethod(String, Object[], String[], ElementReference[])
Declaration
protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)
Parameters
Type |
Name |
Description |
System.String |
methodName |
|
System.Object[] |
arguments |
|
System.String[] |
types |
|
Microsoft.AspNetCore.Components.ElementReference[] |
nativeElements |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
InvokeMethodSync(String, Object[], String[], ElementReference[])
Declaration
protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)
Parameters
Type |
Name |
Description |
System.String |
methodName |
|
System.Object[] |
arguments |
|
System.String[] |
types |
|
Microsoft.AspNetCore.Components.ElementReference[] |
nativeElements |
|
Returns
Type |
Description |
System.Object |
|
IsPropDirty(String)
Declaration
protected bool IsPropDirty(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual bool IsTransformedEnumValue(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
MarkPropDirty(String)
Declaration
protected void MarkPropDirty(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
NotifyClearItems(Object)
Declaration
public void NotifyClearItems(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
NotifyInsertItem(Object, Int32, Object)
Declaration
public void NotifyInsertItem(object dataSource, int index, object refItem)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.Int32 |
index |
|
System.Object |
refItem |
|
NotifyRemoveItem(Object, Int32, Object)
Declaration
public void NotifyRemoveItem(object dataSource, int index, object oldItem)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.Int32 |
index |
|
System.Object |
oldItem |
|
NotifySetItem(Object, Int32, Object, Object)
Declaration
public void NotifySetItem(object dataSource, int index, object oldItem, object newItem)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.Int32 |
index |
|
System.Object |
oldItem |
|
System.Object |
newItem |
|
NotifyUpdateItem(Object, Int32, Object, Boolean)
Declaration
public void NotifyUpdateItem(object dataSource, int index, object refItem, bool syncDataOnly = false)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.Int32 |
index |
|
System.Object |
refItem |
|
System.Boolean |
syncDataOnly |
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
System.Boolean |
firstRender |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
OnElementNameChanged(BaseRendererElement, String, String)
Declaration
protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)
Parameters
OnInvokeReturn(Int64, Object)
Declaration
public void OnInvokeReturn(long invokeId, object returnValue)
Parameters
Type |
Name |
Description |
System.Int64 |
invokeId |
|
System.Object |
returnValue |
|
OnRefChanged(String, Object)
Declaration
public void OnRefChanged(string refName, object refValue)
Parameters
Type |
Name |
Description |
System.String |
refName |
|
System.Object |
refValue |
|
ResolveDisplay()
Declaration
protected virtual string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
ResumeNotifications(Object)
Resumes data change notifications.
Declaration
public void ResumeNotifications(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
The datasource that is being changed.
|
Serialize()
Declaration
public string Serialize()
Returns
Type |
Description |
System.String |
|
Serialize(SerializationContext, String)
Declaration
public void Serialize(SerializationContext context, string propertyName = null)
Parameters
SetPropertyValue(Object, PropertyInfo, Object)
Declaration
protected void SetPropertyValue(object item, PropertyInfo property, object value)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
System.Reflection.PropertyInfo |
property |
|
System.Object |
value |
|
SetPropertyValue(Object, PropertyInfo, JsonElement)
Declaration
protected void SetPropertyValue(object item, PropertyInfo property, JsonElement jsonElement)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
System.Reflection.PropertyInfo |
property |
|
System.Text.Json.JsonElement |
jsonElement |
|
SetResourceStringAsync(String, String)
Declaration
public Task<object> SetResourceStringAsync(string grouping, string json)
Parameters
Type |
Name |
Description |
System.String |
grouping |
|
System.String |
json |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
SetResourceStringAsync(String, String, String)
Declaration
public Task<object> SetResourceStringAsync(string grouping, string id, string value)
Parameters
Type |
Name |
Description |
System.String |
grouping |
|
System.String |
id |
|
System.String |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
SuspendNotifications(Object)
Prevents data change notifications from be propagated to the component.
Declaration
public void SuspendNotifications(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
The datasource that is being changed.
|
TemplateContentType(String)
Declaration
protected Type TemplateContentType(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
|
Returns
Type |
Description |
System.Type |
|
ToPascal(String)
Declaration
protected string ToPascal(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
ToSpinal(String)
Declaration
protected string ToSpinal(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected virtual object TransformPotentialEnumValue(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Object |
|
Declaration
protected virtual string TransformSimpleKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
Implements
System.IDisposable