ComponentBase
Optional base class for components. Alternatively, components may
implement IComponent directly.
public ComponentBase()
Constructs an instance of ComponentBase.
Renders the component to the supplied RenderTreeBuilder.
Executes the supplied work item on the associated renderer's
synchronization context.
Executes the supplied work item on the associated renderer's
synchronization context.
Method invoked after each time the component has been rendered.
Method invoked after each time the component has been rendered. Note that the component does
not automatically re-render after the completion of any returned Task, because
that would cause an infinite render loop.
Method invoked when the component is ready to start, having received its
initial parameters from its parent in the render tree.
Method invoked when the component is ready to start, having received its
initial parameters from its parent in the render tree.
Override this method if you will perform an asynchronous operation and
want the component to refresh when that operation is completed.
Method invoked when the component has received parameters from its parent in
the render tree, and the incoming values have been assigned to properties.
Method invoked when the component has received parameters from its parent in
the render tree, and the incoming values have been assigned to properties.
Sets parameters supplied by the component's parent in the render tree.
Returns a flag to indicate whether the component should render.
Notifies the component that its state has changed. When applicable, this will
cause the component to be re-rendered.