#pragma checksum "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "80083507db5b3b6457592dddca5dfb1759ecdb55"
// <auto-generated/>
#pragma warning disable 1591
namespace SyncfusionBlazorApp3.Pages
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using SyncfusionBlazorApp3;

#line default
#line hidden
#nullable disable
#nullable restore
#line 10 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using SyncfusionBlazorApp3.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 11 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\_Imports.razor"
using Syncfusion.Blazor;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
using Syncfusion.Blazor.Grids;

#line default
#line hidden
#nullable disable
    [Microsoft.AspNetCore.Components.RouteAttribute("/datagrid-features")]
    public partial class DataGridFeatures : Microsoft.AspNetCore.Components.ComponentBase
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h2>DataGrid</h2>\r\n<br>\r\n");
            __builder.OpenElement(1, "div");
            __builder.AddAttribute(2, "id", "ControlRegion");
            __Blazor.SyncfusionBlazorApp3.Pages.DataGridFeatures.TypeInference.CreateSfGrid_0(__builder, 3, 4, "Grid", 5, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                Orders

#line default
#line hidden
#nullable disable
            , 6, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                  true

#line default
#line hidden
#nullable disable
            , 7, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                        true

#line default
#line hidden
#nullable disable
            , 8, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                               true

#line default
#line hidden
#nullable disable
            , 9, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                    true

#line default
#line hidden
#nullable disable
            , 10, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                         true

#line default
#line hidden
#nullable disable
            , 11, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                                               true

#line default
#line hidden
#nullable disable
            , 12, 
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                                                                     true

#line default
#line hidden
#nullable disable
            , 13, 
#nullable restore
#line 7 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                            true

#line default
#line hidden
#nullable disable
            , 14, 
#nullable restore
#line 7 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                             new List<string>() { "Add", "Edit", "Delete", "Cancel", "Update","PdfExport","Search","ColumnChooser",}

#line default
#line hidden
#nullable disable
            , 15, "315", 16, "900", 17, 
#nullable restore
#line 7 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                                                                    true

#line default
#line hidden
#nullable disable
            , 18, (__builder2) => {
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridFilterSettings>(19);
                __builder2.AddAttribute(20, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.FilterType>(
#nullable restore
#line 9 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                  Syncfusion.Blazor.Grids.FilterType.Excel

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(21, "\r\n    ");
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridPageSettings>(22);
                __builder2.AddAttribute(23, "PageSizes", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Object>(
#nullable restore
#line 10 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                 true

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(24, "\r\n\t");
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridSelectionSettings>(25);
                __builder2.AddAttribute(26, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.SelectionType>(
#nullable restore
#line 11 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                 Syncfusion.Blazor.Grids.SelectionType.Single

#line default
#line hidden
#nullable disable
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(27, "\r\n        ");
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridEvents<Order>>(28);
                __builder2.AddAttribute(29, "OnToolbarClick", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.Navigations.ClickEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Syncfusion.Blazor.Navigations.ClickEventArgs>(this, 
#nullable restore
#line 12 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                    ToolbarClick

#line default
#line hidden
#nullable disable
                )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(30, "\r\n        ");
                __builder2.OpenComponent<Syncfusion.Blazor.Grids.GridColumns>(31);
                __builder2.AddAttribute(32, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(33);
                    __builder3.AddAttribute(34, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 14 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                               nameof(Order.OrderID)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(35, "HeaderText", "Order ID");
                    __builder3.AddAttribute(36, "IsPrimaryKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 14 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                         true

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(37, "ValidationRules", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ValidationRules>(
#nullable restore
#line 14 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                  new ValidationRules{ Required=true }

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(38, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.TextAlign>(
#nullable restore
#line 14 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                                    TextAlign.Right

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(39, "Width", "120");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(40, "\r\n            ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(41);
                    __builder3.AddAttribute(42, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 15 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                               nameof(Order.CustomerID)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(43, "HeaderText", "Customer Name");
                    __builder3.AddAttribute(44, "ValidationRules", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ValidationRules>(
#nullable restore
#line 15 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                      new ValidationRules{ Required=true }

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(45, "Width", "120");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(46, "\r\n            ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(47);
                    __builder3.AddAttribute(48, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 16 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                               nameof(Order.OrderDate)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(49, "HeaderText", " Order Date");
                    __builder3.AddAttribute(50, "EditType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditType>(
#nullable restore
#line 16 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                          EditType.DatePickerEdit

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(51, "Format", "d");
                    __builder3.AddAttribute(52, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.TextAlign>(
#nullable restore
#line 16 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                         TextAlign.Right

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(53, "Width", "130");
                    __builder3.AddAttribute(54, "Type", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.ColumnType>(
#nullable restore
#line 16 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                                                                            ColumnType.Date

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(55, "\r\n            ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(56);
                    __builder3.AddAttribute(57, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 17 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                               nameof(Order.Freight)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(58, "HeaderText", "Freight");
                    __builder3.AddAttribute(59, "Format", "C2");
                    __builder3.AddAttribute(60, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.TextAlign>(
#nullable restore
#line 17 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                 TextAlign.Right

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(61, "EditType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditType>(
#nullable restore
#line 17 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                                                            EditType.NumericEdit

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(62, "Width", "120");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(63, "\r\n            ");
                    __builder3.OpenComponent<Syncfusion.Blazor.Grids.GridColumn>(64);
                    __builder3.AddAttribute(65, "Field", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 18 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                               nameof(Order.ShipCountry)

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(66, "HeaderText", "Ship Country");
                    __builder3.AddAttribute(67, "EditType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Syncfusion.Blazor.Grids.EditType>(
#nullable restore
#line 18 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                                                                             EditType.DropDownEdit

#line default
#line hidden
#nullable disable
                    ));
                    __builder3.AddAttribute(68, "Width", "150");
                    __builder3.CloseComponent();
                }
                ));
                __builder2.CloseComponent();
            }
            , 69, (__value) => {
#nullable restore
#line 6 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
                                               Grid = __value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(70, "\r\n<br>\r\n");
            __builder.AddMarkupContent(71, @"<div><h3>Selected Features:</h3>
    <ul class=""ulstyle""><li class=""list""> Exporting - PDF Export</li>
      <li class=""list""> Grouping</li>
      <li class=""list""> Sorting</li>
      <li class=""list""> Filtering - Excel</li>
      <li class=""list""> Selection</li>
      <li class=""list""> Reordering</li>
      <li class=""list""> Paging</li>
      <li class=""list""> Resizing</li>
      <li class=""list""> Searching</li>
      <li class=""list""> Editing - Normal</li>
      <li class=""list""> Theme - Bootstrap v4</li></ul></div>
<br>
");
            __builder.AddMarkupContent(72, "<style>\r\n    .ulstyle {\r\n        margin: 0px;\r\n        padding-left: 20px;\r\n        display: inline-block;\r\n    }\r\n    .list {\r\n    float: left;\r\n    line-height: 20px;\r\n    margin: 10px;\r\n    min-width: 200px;\r\n    }\r\n</style>");
        }
        #pragma warning restore 1998
#nullable restore
#line 53 "C:\Users\Rawan\source\repos\SyncfusionBlazorApp3\SyncfusionBlazorApp3\Pages\DataGridFeatures.razor"
      
    public List<Order> Orders { get; set; }
    SfGrid<Order> Grid;
    protected override void OnInitialized()
    {
        Orders = Enumerable.Range(1, 75).Select(x => new Order()
        {
            OrderID = 1000 + x,
            CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
            Freight = 2.1 * x,
            OrderDate = DateTime.Now.AddDays(-x),
            ShipCountry = (new string[] { "USA", "UK", "CHINA", "RUSSIA", "INDIA" })[new Random().Next(5)]
        }).ToList();
    }
    public void ToolbarClick(Syncfusion.Blazor.Navigations.ClickEventArgs args)
    {
         if (args.Item.Id == "Grid_pdfexport")
        {
            this.Grid.PdfExport();
        }
    }
    public class Order
    {
        public int? OrderID { get; set; }
        public string CustomerID { get; set; }
        public DateTime? OrderDate { get; set; }
        public double? Freight { get; set; }
        public string ShipCountry { get; set; }
    }

#line default
#line hidden
#nullable disable
    }
}
namespace __Blazor.SyncfusionBlazorApp3.Pages.DataGridFeatures
{
    #line hidden
    internal static class TypeInference
    {
        public static void CreateSfGrid_0<TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable<TValue> __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::System.Boolean __arg4, int __seq5, global::System.Boolean __arg5, int __seq6, global::System.Boolean __arg6, int __seq7, global::System.Boolean __arg7, int __seq8, global::System.Boolean __arg8, int __seq9, global::System.Boolean __arg9, int __seq10, global::System.Object __arg10, int __seq11, global::System.String __arg11, int __seq12, global::System.String __arg12, int __seq13, global::System.Boolean __arg13, int __seq14, global::Microsoft.AspNetCore.Components.RenderFragment __arg14, int __seq15, global::System.Action<global::Syncfusion.Blazor.Grids.SfGrid<TValue>> __arg15)
        {
        __builder.OpenComponent<global::Syncfusion.Blazor.Grids.SfGrid<TValue>>(seq);
        __builder.AddAttribute(__seq0, "ID", __arg0);
        __builder.AddAttribute(__seq1, "DataSource", __arg1);
        __builder.AddAttribute(__seq2, "AllowPaging", __arg2);
        __builder.AddAttribute(__seq3, "AllowFiltering", __arg3);
        __builder.AddAttribute(__seq4, "AllowReordering", __arg4);
        __builder.AddAttribute(__seq5, "AllowResizing", __arg5);
        __builder.AddAttribute(__seq6, "AllowGrouping", __arg6);
        __builder.AddAttribute(__seq7, "AllowPdfExport", __arg7);
        __builder.AddAttribute(__seq8, "AllowSelection", __arg8);
        __builder.AddAttribute(__seq9, "AllowSorting", __arg9);
        __builder.AddAttribute(__seq10, "Toolbar", __arg10);
        __builder.AddAttribute(__seq11, "Height", __arg11);
        __builder.AddAttribute(__seq12, "Width", __arg12);
        __builder.AddAttribute(__seq13, "ShowColumnChooser", __arg13);
        __builder.AddAttribute(__seq14, "ChildContent", __arg14);
        __builder.AddComponentReferenceCapture(__seq15, (__value) => { __arg15((global::Syncfusion.Blazor.Grids.SfGrid<TValue>)__value); });
        __builder.CloseComponent();
        }
    }
}
#pragma warning restore 1591
