Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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