Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    TreeListFilterMenuButtonDisplayMode Enum

    Lists values that specify when to display column filter menu buttons in the TreeList.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public enum TreeListFilterMenuButtonDisplayMode

    #Members

    Name Description
    Default

    For the DxTreeList.FilterMenuButtonDisplayMode property, the buttons are always hidden.
    For the DxTreeListDataColumn.FilterMenuButtonDisplayMode property, to inherit the value from the DxTreeList.FilterMenuButtonDisplayMode property.

    Never

    The buttons are always hidden.

    Always

    The buttons are always visible.

    #Remarks

    The following example adds a filter menu button to all columns, except Task:

    Razor
    <DxTreeList Data="Data"
                KeyFieldName="Id"
                ParentKeyFieldName="ParentId"
                FilterMenuButtonDisplayMode="TreeListFilterMenuButtonDisplayMode.Always"
                CssClass="max-h-480">
        <Columns>
            <DxTreeListDataColumn FieldName="Name" 
                                  Caption="Task" 
                                  FilterMenuButtonDisplayMode="TreeListFilterMenuButtonDisplayMode.Never" />
            <DxTreeListDataColumn FieldName="EmployeeName" Caption="Assigned To" TextAlignment="TreeListTextAlignment.Left" />
            <DxTreeListDataColumn FieldName="StartDate" Width="150px" />
            <DxTreeListDataColumn FieldName="DueDate" Width="150px" />
        </Columns>
    </DxTreeList>
    

    Blazor Treelist - Filter Menu Buttons

    See Also