alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class FileManagerPageSettings

    Configures the File Manager paging settings.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    FileManagerPageSettings
    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.OnAfterRenderAsync(bool)
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSetAsync()
    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
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileManagerPageSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    FileManagerPageSettings()

    Declaration
    public FileManagerPageSettings()

    Properties

    ChildContent

    Gets or sets the child content for the page settings.

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

    CurrentPage

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

    Declaration
    [Parameter]
    public int CurrentPage { get; set; }
    Property Value
    Type Description
    int

    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
    [Parameter]
    public int NumericItemsCount { get; set; }
    Property Value
    Type Description
    int

    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
    [Parameter]
    public int PageSize { get; set; }
    Property Value
    Type Description
    int

    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
    [Parameter]
    public List<int> PageSizes { get; set; }
    Property Value
    Type Description
    List<int>

    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
    [Parameter]
    [JsonIgnore]
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<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
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitialized()

    Declaration
    protected override void OnInitialized()
    Overrides
    ComponentBase.OnInitialized()

    OnParametersSet()

    Declaration
    protected override void OnParametersSet()
    Overrides
    ComponentBase.OnParametersSet()

    Implements

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