menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileManagerPageSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileManagerPageSettings

    Configures the File Manager paging settings.

    Inheritance
    System.Object
    FileManagerPageSettings
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileManagerPageSettings : OwningComponentBase

    Constructors

    FileManagerPageSettings()

    Declaration
    public FileManagerPageSettings()

    Properties

    ChildContent

    Gets or sets the child content for the page settings.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    CurrentPage

    Gets or sets the current page number to be loaded in the initial rendered view of SfFileManager<TValue> component.

    Declaration
    public int CurrentPage { get; set; }
    Property Value
    Type Description
    System.Int32

    The page which must be loaded during initial rendering. The default value is 1.

    Remarks

    This allows to load the initial view with required range of files and folders.

    NumericItemsCount

    Gets or sets a value that indicates the number of page numeric buttons shown on the File Manager pager user interface.

    Declaration
    public int NumericItemsCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The number of page numeric buttons shown on the pager UI. The default value is 8.

    Remarks

    If

    NumericItemsCount
    is 5 and the total number of pages is 20, then the pager will display numeric buttons for pages 1 to 5. Users can navigate beyond this range using the next page and end-page buttons. Also, if the given numeric items count is greater than the total number of pages, then all the pages are shown in the Pager component.

    PageSize

    Gets or sets the number of records to be displayed per page.

    Declaration
    public int PageSize { get; set; }
    Property Value
    Type Description
    System.Int32

    The number of items to be loaded in a single page. The default value is 10.

    Remarks

    Specify the required items to be loaded per page in File Manager.

    PageSizes

    If PageSizes set to true or list of values, it renders DropDownList in the pager which allows us to select pageSize from DropDownList.

    Declaration
    public List<int> PageSizes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The list of numbers from which the page size can be chosen.

    Remarks

    List the different page sizes that can be chosen to modify the loaded items count dynamically.

    Template

    Gets or sets the template which renders customized elements in pager instead of default elements.

    Declaration
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    The template that must be rendered as pager. The default value is null.

    Remarks

    The parameters passed to the templates can be accessed using implicit parameter named context. The context is of type PagerTemplateContext . This will replace the entire Pager content with provided template

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitialized()

    Declaration
    protected override void OnInitialized()

    OnParametersSet()

    Declaration
    protected override void OnParametersSet()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved