Table of Contents

Class ScrollPanel

Namespace
The.Web.Controls
Assembly
Instagile.Web.Client.dll
public class ScrollPanel : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance
ScrollPanel
Implements
Inherited Members

Properties

ChildContent

[Parameter]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Horizontal

[Parameter]
public OverflowMode Horizontal { get; set; }

Property Value

OverflowMode

ScrollContext

public ScrollContext ScrollContext { get; }

Property Value

ScrollContext

SmoothScrolling

[Parameter]
public bool SmoothScrolling { get; set; }

Property Value

bool

Vertical

[Parameter]
public OverflowMode Vertical { get; set; }

Property Value

OverflowMode

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnAfterRender(bool)

Method invoked after each time the component has 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.

protected override void OnAfterRender(bool firstRender)

Parameters

firstRender bool

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

Remarks

The OnAfterRender(bool) and OnAfterRenderAsync(bool) lifecycle methods are useful for performing interop, or interacting with values received from @ref. Use the firstRender parameter to ensure that initialization work is only performed once.

OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

protected override void OnInitialized()

OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override void OnParametersSet()