alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PdfViewerScrollSettings

    Represents the settings related to scrolling in the PDF viewer component in Blazor applications.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    PdfViewerScrollSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicenseByUICategory()
    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    public class PdfViewerScrollSettings : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    This class handles the configuration of scroll-related properties, such as the delay for page requests while scrolling. It ensures that the settings are initialized and updated correctly during component lifecycle events.

    Examples

    Below is an example of how to use PdfViewerScrollSettings in a Blazor component:

    Constructors

    PdfViewerScrollSettings()

    Declaration
    public PdfViewerScrollSettings()

    Properties

    ChildContent

    Gets or sets the child content to be rendered inside the scroll settings component.

    Declaration
    [Parameter]
    [JsonIgnore]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    RenderFragment

    DelayPageRequestTimeOnScroll

    Increase or decrease the render pdf page request delay on scrolling action and it's unit is milli seconds.

    Declaration
    [Parameter]
    [JsonPropertyName("delayPageRequestTimeOnScroll")]
    public int DelayPageRequestTimeOnScroll { get; set; }
    Property Value
    Type
    int

    jsProperty

    The JS interop property name used internally.

    Declaration
    protected string jsProperty { get; set; }
    Property Value
    Type
    string

    mainParent

    Reference to the parent base component in the hierarchy.

    Declaration
    protected SfBaseComponent mainParent { get; set; }
    Property Value
    Type
    SfBaseComponent

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Performs async initialization and sets up state and JS namespace.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Applies parameter changes and updates child properties when needed.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved