TreeListDataColumnFilterMenuTemplateContext.ListView Property
Specifies whether the filter menu displays values as a plain list.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public RenderFragment ListView { get; }
Property Value
Type | Description |
---|---|
RenderFragment | Visual representation of filter menu values. |
Remarks
The following example displays the Start Date filter menu as a ListView
:
<DxTreeList Data="Data"
KeyFieldName="Id"
ParentKeyFieldName="ParentId"
FilterMenuButtonDisplayMode="TreeListFilterMenuButtonDisplayMode.Always"
CustomizeFilterMenu="TreeList_CustomizeFilterMenu"
CssClass="max-h-480">
<Columns>
<DxTreeListDataColumn FieldName="Name" Caption="Task" />
<DxTreeListDataColumn FieldName="EmployeeName" Caption="Assigned To" TextAlignment="TreeListTextAlignment.Left" />
<DxTreeListDataColumn FieldName="StartDate" Width="150px">
<FilterMenuTemplate>
@context.ListView
</FilterMenuTemplate>
</DxTreeListDataColumn>
<DxTreeListDataColumn FieldName="DueDate" Width="150px" />
</Columns>
</DxTreeList>
See Also