Guest User

@Code Section

a guest
Jul 29th, 2019
13
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. protected override async Task OnParametersSetAsync()
  2.     {
  3.         await base.OnParametersSetAsync();
  4.         if(EnablePaging)
  5.         {
  6.             _pageSettings.PageSize = PageSize;
  7.             _pageSettings.PageSizes = true;
  8.         }
  9.     }
  10.  
  11.     [Parameter]
  12.     private ObservableCollection Entities { get; set; }
  13.  
  14.     [Parameter]
  15.     private bool EnablePaging { get; set; }
  16.  
  17.     [Parameter]
  18.     private bool EnableFiltering { get; set; }
  19.  
  20.     [Parameter]
  21.     private bool EnableSorting { get; set; }
  22.     [Parameter]
  23.     private int PageSize { get; set; } = 20;
  24.  
  25.     private GridPageSettings _pageSettings = new GridPageSettings();
  26.     private DynamicEntity ModelType = new DynamicEntity();
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×