語言

QuickGrid<TGridItem>.QueryParameterNamePrefix 屬性

定義

這是頁面與排序 URL 參數的來源。 預設值為空字串,產生名為「page」、「sort」和「order」的查詢參數。 如果你提供非空值,例如「products」,那麼查詢參數會是「products_page」、「products_sort」和「products_order」。 這讓你能在同一頁面使用多個 QuickGrid<TGridItem> 元件,且它們的 URL 參數不會互相衝突。

[Microsoft.AspNetCore.Components.Parameter]
public string QueryParameterNamePrefix { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.QueryParameterNamePrefix : string with get, set
Public Property QueryParameterNamePrefix As String

屬性值

屬性

適用於