Class QueryPageOptions
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
查询条件实体类
public class QueryPageOptions
- Inheritance
-
QueryPageOptions
- Inherited Members
- Extension Methods
Constructors
QueryPageOptions()
public QueryPageOptions()
Properties
AdvanceSearches
获得 SearchModel 中过滤条件
public List<IFilterAction> AdvanceSearches { get; }
Property Value
AdvanceSearchs
获得 SearchModel 中过滤条件
[Obsolete("This property is obsolete. Use AdvanceSearches instead. 已过期,请使用 AdvanceSearches 参数")]
public List<IFilterAction> AdvanceSearchs { get; }
Property Value
AdvancedSortList
获得/设置 自定义多列排序集合 默认为 Empty 内部为 "Name" "Age desc" 由 AdvancedSortItems 设置
public List<string> AdvancedSortList { get; }
Property Value
CustomerSearches
获得 CustomerSearchModel 中过滤条件 SearchTemplate 模板中的条件请使用 AdvanceSearchs获得
public List<IFilterAction> CustomerSearches { get; }
Property Value
CustomerSearchs
获得 CustomerSearchModel 中过滤条件 SearchTemplate 模板中的条件请使用 AdvanceSearchs获得
[Obsolete("This property is obsolete. Use CustomerSearches instead. 已过期,请使用 CustomerSearches 参数")]
[JsonIgnore]
public List<IFilterAction> CustomerSearchs { get; }
Property Value
Filters
获得 过滤条件集合 等同于 Filters 值
public List<IFilterAction> Filters { get; }
Property Value
IsFirstQuery
获得 是否为首次查询 默认 false
public bool IsFirstQuery { get; set; }
Property Value
Remarks
Table<TItem> 组件首次查询数据时为 true
IsFristQuery
获得 是否为首次查询 默认 false
[Obsolete("This property is obsolete. Use IsFirstQuery. 已弃用单词拼写错误,请使用 IsFirstQuery")]
[JsonIgnore]
public bool IsFristQuery { get; set; }
Property Value
Remarks
Table<TItem> 组件首次查询数据时为 true
IsPage
获得 是否分页查询模式 默认为 false 由 IsPagination 设置
public bool IsPage { get; set; }
Property Value
IsVirtualScroll
获得 是否为虚拟滚动查询模式 默认为 false 由 ScrollMode 设置
public bool IsVirtualScroll { get; set; }
Property Value
PageIndex
获得 当前页码 首页为 第一页
public int PageIndex { get; set; }
Property Value
PageItems
获得 每页条目数量 由 PageItems 与 PageItemsSource 设置
public int PageItems { get; set; }
Property Value
SearchModel
获得 搜索条件绑定模型 未设置 CustomerSearchModel 时为 Table<TItem> 泛型模型
public object? SearchModel { get; set; }
Property Value
SearchText
获得/设置 模糊查询关键字
public string? SearchText { get; set; }
Property Value
Searches
获得 通过列集合中的 Searchable 列与 SearchText 拼装 IFilterAction 集合
public List<IFilterAction> Searches { get; }
Property Value
Searchs
获得 通过列集合中的 Searchable 列与 SearchText 拼装 IFilterAction 集合
[Obsolete("This property is obsolete. Use Searches instead. 已过期,请使用 Searches 参数")]
public List<IFilterAction> Searchs { get; }
Property Value
SortList
获得/设置 多列排序集合 默认为 Empty 内部为 "Name" "Age desc" 由 SortString 设置
public List<string> SortList { get; }
Property Value
SortName
获得 排序字段名称 由 SortName 设置
public string? SortName { get; set; }
Property Value
SortOrder
获得 排序方式 由 SortOrder 设置
public SortOrder SortOrder { get; set; }
Property Value
StartIndex
获得 请求读取数据开始行 默认 0
public int StartIndex { get; set; }
Property Value
Remarks
ScrollMode 开启虚拟滚动 Virtual 时使用