Inheritance

object
ComponentBase

Classes that extend this class.

Derived Classes
Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable
  • IDisposable

constructor

public BaseRendererControl()

Returns BaseRendererControl

[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object> AdditionalAttributes { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
[Parameter]
public string Class { get; set; }

Gets the components default event behavior.

protected virtual ControlEventBehavior DefaultEventBehavior { get; }
protected virtual string DirectRenderElementName { get; }

Gets or sets how events are bubbled up from JavaScript to Blazor.

[Parameter]
public ControlEventBehavior EventBehavior { get; set; }
[Parameter]
public string Height { get; set; }
[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }
protected virtual bool NeedsDynamicContent { get; }
protected virtual string ParentTypeName { get; }

Gets or sets what type of date conversion to make when round tripping dates.

[Parameter]
public RoundTripDateConversion RoundTripDateConversion { get; set; }
protected virtual bool SupportsVisualChildren { get; }
public virtual string Type { get; }
protected virtual bool UseCamelEnumValues { get; }
protected virtual bool UseDirectRender { get; }
[Parameter]
public string Width { get; set; }
protected string _cachedSerializedContent
protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache
protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

protected virtual SequenceInfo BuildSequenceInfo(int startSequence)

Parameters

  • startSequence: int

Returns any

protected string Camelize(string value)

Parameters

  • value: string

Returns any

CompareEventCallbacks<T>(T, T, ref Dictionary<Type, Dictionary<string, FieldInfo>>)

Section titled "CompareEventCallbacks<T>(T, T, ref Dictionary<Type, Dictionary<string, FieldInfo>>)"
public static bool CompareEventCallbacks<T>(T left, T right, ref Dictionary<Type, Dictionary<string, FieldInfo>> eventFieldsDictionary)

Parameters

  • left: T
  • right: T
  • eventFieldsDictionary: Dictionary>

Returns any

public void Dispose()

Returns any

protected virtual void Dispose(bool disposing)

Parameters

  • disposing: bool

Returns any

protected virtual void EnsureModulesLoaded()

Returns any

public Task EnsureReady()

Returns any

protected ~BaseRendererControl()

Returns any

public virtual object FindByName(string name)

Parameters

  • name: string

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"
protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"
protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

protected virtual bool IsTransformedEnumValue(string key)

Parameters

  • key: string

Returns any

protected void MarkPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

public void NotifyClearItems(object dataSource)

Parameters

  • dataSource: object

Returns any

NotifyInsertItem(object, int, object)

Section titled "NotifyInsertItem(object, int, object)"
public void NotifyInsertItem(object dataSource, int index, object refItem)

Parameters

  • dataSource: object
  • index: int
  • refItem: object

Returns any

NotifyRemoveItem(object, int, object)

Section titled "NotifyRemoveItem(object, int, object)"
public void NotifyRemoveItem(object dataSource, int index, object oldItem)

Parameters

  • dataSource: object
  • index: int
  • oldItem: object

Returns any

NotifySetItem(object, int, object, object)

Section titled "NotifySetItem(object, int, object, object)"
public void NotifySetItem(object dataSource, int index, object oldItem, object newItem)

Parameters

  • dataSource: object
  • index: int
  • oldItem: object
  • newItem: object

Returns any

NotifyUpdateItem(object, int, object, bool)

Section titled "NotifyUpdateItem(object, int, object, bool)"
public void NotifyUpdateItem(object dataSource, int index, object refItem, bool syncDataOnly = false)

Parameters

  • dataSource: object
  • index: int
  • refItem: object
  • syncDataOnly: bool

Returns any

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

  • firstRender: bool

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"
protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

public void OnInvokeReturn(long invokeId, object returnValue)

Parameters

  • invokeId: long
  • returnValue: object

Returns any

public void OnRefChanged(string refName, object refValue)

Parameters

  • refName: string
  • refValue: object

Returns any

protected virtual string ResolveDisplay()

Returns any

Resolves the components event behavior if Auto is selected.

protected ControlEventBehavior ResolveEventBehavior()

Returns any

Resumes data change notifications.

public void ResumeNotifications(object dataSource, bool notify = true)

Parameters

  • dataSource: object
  • notify: bool

Returns any

public string Serialize()

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"
public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

SetPropertyValue(object, PropertyInfo, object)

Section titled "SetPropertyValue(object, PropertyInfo, object)"
protected void SetPropertyValue(object item, PropertyInfo property, object value)

Parameters

  • item: object
  • property: PropertyInfo
  • value: object

Returns any

SetPropertyValue(object, PropertyInfo, JsonElement)

Section titled "SetPropertyValue(object, PropertyInfo, JsonElement)"
protected void SetPropertyValue(object item, PropertyInfo property, JsonElement jsonElement)

Parameters

  • item: object
  • property: PropertyInfo
  • jsonElement: JsonElement

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"
public Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"
public Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

Prevents data change notifications from be propagated to the component.

public void SuspendNotifications(object dataSource)

Parameters

  • dataSource: object

Returns any

protected Type TemplateContentType(string templateId)

Parameters

  • templateId: string

Returns any

protected string ToPascal(string value)

Parameters

  • value: string

Returns any

protected string ToSpinal(string value)

Parameters

  • value: string

Returns any

TransformPotentialEnumValue(string, object)

Section titled "TransformPotentialEnumValue(string, object)"
protected virtual object TransformPotentialEnumValue(string key, object value)

Parameters

  • key: string
  • value: object

Returns any

protected virtual string TransformSimpleKey(string key)

Parameters

  • key: string

Returns any