Share via


QuickGrid<TGridItem>.OnAfterRenderAsync(Boolean) Method

Definition

Method invoked after each time the component has been rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any ElementReference fields will be populated by the time this runs.

This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated.

Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.

protected override System.Threading.Tasks.Task OnAfterRenderAsync (bool firstRender);
override this.OnAfterRenderAsync : bool -> System.Threading.Tasks.Task
Protected Overrides Function OnAfterRenderAsync (firstRender As Boolean) As Task

Parameters

firstRender
Boolean

Set to true if this is the first time OnAfterRender(Boolean) has been invoked on this component instance; otherwise false.

Returns

A Task representing any asynchronous operation.

Applies to