Skip to main content
All docs
V25.1
  • DxTreeList.PagerAutoHideNavButtons Property

    Specifies whether arrow navigation buttons are hidden when all numeric buttons are displayed in the pager.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(true)]
    [Parameter]
    public bool PagerAutoHideNavButtons { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true to hide navigation buttons when all numeric buttons are displayed; false to display navigation buttons in addition to numeric buttons.

    Remarks

    In numeric buttons mode, you can use the PagerVisibleNumericButtonCount property to specify the maximum number of buttons displayed in the pager simultaneously. A user can click arrow navigation buttons to display other numeric buttons.

    The pager hides arrow navigation buttons if all numeric buttons are displayed (that is, the total page count in the TreeList is less than or equal to PagerVisibleNumericButtonCount).

    Blazor TreeList Pager Hidden Nav Buttons

    To disable this behavior and display navigation buttons permanently, set the PagerAutoHideNavButtons property to false.

    @inject EmployeeTaskService EmployeeTaskService
    
    <DxTreeList Data="TreeListData"
                KeyFieldName="Id"
                ParentKeyFieldName="ParentId"
                PagerNavigationMode="PagerNavigationMode.NumericButtons"
                PagerAutoHideNavButtons="false">
        <Columns>
            <DxTreeListDataColumn FieldName="Name" Caption="Task" />
            <DxTreeListDataColumn FieldName="EmployeeName" />
            <DxTreeListDataColumn FieldName="StartDate" />
            <DxTreeListDataColumn FieldName="DueDate" />
        </Columns>
    </DxTreeList>
    
    @code {
        List<EmployeeTask> TreeListData { get; set; }
    
        protected override void OnInitialized() {
            TreeListData = EmployeeTaskService.GenerateData();
        }
    }
    

    Blazor TreeList Pager Nav Buttons Visible

    For more information about paging in the TreeList component, refer to the following topic: Paging in Blazor TreeList.

    See Also