Skip to main content
All docs
V26.1
  • TreeListPersistentLayout Class

    Contains information about a TreeList layout.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.Grid.v26.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    public class TreeListPersistentLayout :
        GridPersistentLayoutBase,
        IEquatable<TreeListPersistentLayout>

    The following members return TreeListPersistentLayout objects:

    Remarks

    A TreeListPersistentLayout object stores the following TreeList layout settings:

    Saved Information TreeList Property TreeListPersistentLayout Property
    Current page index DxTreeList.PageIndex Layout.PageIndex
    Page size DxTreeList.PageSize Layout.PageSize
    Single-page or multi-page data display DxTreeList.ShowAllRows Layout.ShowAllRows
    Search text DxTreeList.SearchText Layout.SearchText
    Filter values TreeList column filter criteria[1] joined by AND operators Layout.FilterCriteria
    Individual column settings (refer to the table below) - Layout.Columns.Item(i)           

    Important

    DevExpress components can incorrectly serialize custom enumeration values in criteria operators. Refer to the following troubleshooting topic for additional information: The XXX enumeration type is not registered for the parse operation…

    The TreeListPersistentLayout.Columns collection stores information about column layout settings. Each collection item (TreeListPersistentLayoutColumn) includes the following data:

    Saved Information TreeList Column Parameter TreeListPersistentLayoutColumn Property
    Column type A column type defined in the markup: data, band, command, or selection. LayoutColumn.ColumnType
    Data field name DxTreeListColumn.FieldName LayoutColumn.FieldName
    Sort index DxTreeListColumn.SortIndex LayoutColumn.SortIndex
    Sort direction DxTreeListColumn.SortOrder LayoutColumn.SortOrder
    Position DxTreeListColumn.VisibleIndex LayoutColumn.VisibleIndex
    Visibility DxTreeListColumn.Visible LayoutColumn.Visible
    Width DxTreeListColumn.Width LayoutColumn.Width

    Refer to the following topic for information on how to use this object to save TreeList layout settings: Save and Restore Layout in Blazor TreeList.

    Inheritance

    Object
    DevExpress.Blazor.Grid.Internal.GridPersistentLayoutBase
    TreeListPersistentLayout
    Footnotes
    1. Filter criteria can be applied to TreeList data in the following ways:

      Use the GetFilterCriteria() method to obtain all filter criteria, whether applied in code or using the component’s filter UI.

    See Also