diff --git a/ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor b/ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor index 75c06d09b..1d92221cf 100644 --- a/ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor +++ b/ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor @@ -1,18 +1,19 @@ @page "/Buttons/DropDownButton" -@using Syncfusion.EJ2.RazorComponents.Buttons +@using Syncfusion.EJ2.RazorComponents.SplitButtons + @*Hidden:Lines*@ @using ej2_blazor_samples @{ - SampleBrowser.CurrentSampleName = SampleBrowser.Config.Button[4].Name; - SampleBrowser.CurrentControlName = "Button"; - SampleBrowser.CurrentControlCategory = "Button"; - SampleBrowser.CurrentControl = SampleBrowser.Config.Button; - SampleBrowser.ActionDescription = new string[] { + SampleBrowser.CurrentSampleName = SampleBrowser.Config.Button[4].Name; + SampleBrowser.CurrentControlName = "Button"; + SampleBrowser.CurrentControlCategory = "Button"; + SampleBrowser.CurrentControl = SampleBrowser.Config.Button; + SampleBrowser.ActionDescription = new string[] { @"

This sample demonstrates the default functionalities of the DropDownButton. Clicking DropDownButton will display popup with list of action items.

" }; - SampleBrowser.Description = new string[]{ + SampleBrowser.Description = new string[]{ @"

The DropDownButton component is used to toggle contextual overlays for displaying list of action items. It can contain both text and images.

@@ -159,10 +160,10 @@ @functions{ public List items { get; set; } = new List - { +{ new { text = "Dashboard", iconCss = "e-ddb-icons e-dashboard" }, new { text = "Notifications", iconCss = "e-ddb-icons e-notifications" }, new { text = "User Settings", iconCss = "e-ddb-icons e-settings" }, new { text = "Log Out", iconCss = "e-ddb-icons e-logout" } }; - } +} diff --git a/ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor b/ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor index 53102e9b6..0bad0f2d2 100644 --- a/ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor +++ b/ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor @@ -1,5 +1,7 @@ @page "/Calendar/DateRange" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ diff --git a/ej2-blazor-samples/Pages/Calendars/Calendar/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Calendars/Calendar/DefaultFunctionalities.razor index effded8c1..a208402f6 100644 --- a/ej2-blazor-samples/Pages/Calendars/Calendar/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Calendars/Calendar/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/Calendar/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ diff --git a/ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor b/ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor index ecb75c3a8..26f4aeeb7 100644 --- a/ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor +++ b/ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor @@ -1,5 +1,7 @@ @page "/Calendar/MultiSelection" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -8,10 +10,10 @@ SampleBrowser.CurrentControlCategory = "Calendar"; SampleBrowser.CurrentControl = SampleBrowser.Config.Calendar; SampleBrowser.ActionDescription = new string[] { - + }; SampleBrowser.Description = new string[]{ - + }; } @*End:Hidden*@ @@ -34,6 +36,6 @@ @functions { - public bool multiSelection {get;set;} = true; + public bool multiSelection { get; set; } = true; public DateTime[] multiValue = new DateTime[] { new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 15), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 25) }; } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Calendars/DatePicker/DateRange.razor b/ej2-blazor-samples/Pages/Calendars/DatePicker/DateRange.razor index 2a96e3a99..dee87714a 100644 --- a/ej2-blazor-samples/Pages/Calendars/DatePicker/DateRange.razor +++ b/ej2-blazor-samples/Pages/Calendars/DatePicker/DateRange.razor @@ -1,5 +1,7 @@ @page "/DatePicker/DateRange" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -42,7 +44,7 @@ @functions{ - public DateTime value {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,10); - public DateTime minDate {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,05); - public DateTime maxDate {get;set;} = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27); + public DateTime value { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10); + public DateTime minDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 05); + public DateTime maxDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27); } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Calendars/DatePicker/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Calendars/DatePicker/DefaultFunctionalities.razor index 98845c27a..47249aeec 100644 --- a/ej2-blazor-samples/Pages/Calendars/DatePicker/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Calendars/DatePicker/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/DatePicker/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -27,7 +29,7 @@
- +
diff --git a/ej2-blazor-samples/Pages/Calendars/DatePicker/Format.razor b/ej2-blazor-samples/Pages/Calendars/DatePicker/Format.razor index ba5fc04ee..7e3dd9035 100644 --- a/ej2-blazor-samples/Pages/Calendars/DatePicker/Format.razor +++ b/ej2-blazor-samples/Pages/Calendars/DatePicker/Format.razor @@ -1,5 +1,7 @@ @page "/DatePicker/Format" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -45,5 +47,5 @@ @functions{ - public DateTime value {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,10); + public DateTime value { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10); } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DateRange.razor b/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DateRange.razor index 81ac30f9f..a6af666a7 100644 --- a/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DateRange.razor +++ b/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DateRange.razor @@ -1,5 +1,7 @@ @page "/DateRangePicker/DateRange" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -29,7 +31,7 @@
- +
@@ -42,6 +44,6 @@ @functions{ - public DateTime minDate {get;set;} = new DateTime(2017, 01, 05); - public DateTime maxDate {get;set;} = new DateTime(2017, 12, 20); + public DateTime minDate { get; set; } = new DateTime(2017, 01, 05); + public DateTime maxDate { get; set; } = new DateTime(2017, 12, 20); } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DefaultFunctionalities.razor index 4d332d85d..dce139012 100644 --- a/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Calendars/DateRangePicker/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/DateRangePicker/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -25,11 +27,11 @@ @*End:Hidden*@
-
-
- -
+
+
+
+
@functions{ - public DateTime start {get;set;} = DateTime.Now; - public DateTime end {get;set;} = DateTime.Now.AddDays(20); + public DateTime start { get; set; } = DateTime.Now; + public DateTime end { get; set; } = DateTime.Now.AddDays(20); } diff --git a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DateTimeRange.razor b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DateTimeRange.razor index 40442fe64..488ed9be1 100644 --- a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DateTimeRange.razor +++ b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DateTimeRange.razor @@ -1,5 +1,7 @@ @page "/DateTimePicker/DateTimeRange" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -42,7 +44,7 @@ @functions{ - public DateTime value {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,10); - public DateTime minDate {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,05); - public DateTime maxDate {get;set;} = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27); + public DateTime value { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10); + public DateTime minDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 05); + public DateTime maxDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27); } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DefaultFunctionalities.razor index 71ca17bbd..c8df09ab9 100644 --- a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/DateTimePicker/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ diff --git a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/Format.razor b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/Format.razor index 230b6ce2e..856360f4d 100644 --- a/ej2-blazor-samples/Pages/Calendars/DateTimePicker/Format.razor +++ b/ej2-blazor-samples/Pages/Calendars/DateTimePicker/Format.razor @@ -1,5 +1,7 @@ @page "/DateTimePicker/Format" +@using Syncfusion.EJ2.RazorComponents.Calendars + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -45,5 +47,5 @@ @functions{ - public DateTime value {get;set;} = DateTime.Now; + public DateTime value { get; set; } = DateTime.Now; } \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/DropDowns/AutoComplete/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/DropDowns/AutoComplete/DefaultFunctionalities.razor index 3ef6e919f..c2f075797 100644 --- a/ej2-blazor-samples/Pages/DropDowns/AutoComplete/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/DropDowns/AutoComplete/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/AutoComplete/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -41,7 +43,7 @@ @functions{ - List games = new List { + List games = new List { new { id= "Game1", text= "American Football" }, new { id= "Game2", text= "Badminton" }, new { id= "Game3", text= "Basketball" }, @@ -53,4 +55,4 @@ new { id= "Game9", text= "Snooker" }, new { id= "Game10", text= "Tennis"}, }; - } +} diff --git a/ej2-blazor-samples/Pages/DropDowns/ComboBox/DataBinding.razor b/ej2-blazor-samples/Pages/DropDowns/ComboBox/DataBinding.razor index 227f3d88d..279d81d7e 100644 --- a/ej2-blazor-samples/Pages/DropDowns/ComboBox/DataBinding.razor +++ b/ej2-blazor-samples/Pages/DropDowns/ComboBox/DataBinding.razor @@ -1,5 +1,7 @@ @page "/ComboBox/DataBinding" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -68,8 +70,8 @@ @functions{ - List games = new List - { + List games = new List + { new { id= "Game1", text= "American Football" }, new { id= "Game2", text= "Badminton" }, new { id= "Game3", text= "Basketball" }, @@ -82,21 +84,26 @@ new { id= "Game10", text= "Tennis"}, }; - public object comboBoxFields = new { - text="text", value="id" - }; + public object comboBoxFields = new + { + text = "text", + value = "id" + }; - public object remoteData = new { - Url ="https://ej2services.syncfusion.com/production/web-services/api/Employees", - CrossDomain = "true", - Adaptor = "WebApiAdaptor" - }; + public object remoteData = new + { + Url = "https://ej2services.syncfusion.com/production/web-services/api/Employees", + CrossDomain = "true", + Adaptor = "WebApiAdaptor" + }; - public object remoteComboBoxFields = new { - Text="FirstName", Value="EmployeeID" - }; + public object remoteComboBoxFields = new + { + Text = "FirstName", + Value = "EmployeeID" + }; - public string dataQuery { get; set;} = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; + public string dataQuery { get; set; } = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; - public string sort { get; set; } = "Ascending"; - } + public string sort { get; set; } = "Ascending"; +} diff --git a/ej2-blazor-samples/Pages/DropDowns/ComboBox/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/DropDowns/ComboBox/DefaultFunctionalities.razor index 1ce9df67e..121e4b37d 100644 --- a/ej2-blazor-samples/Pages/DropDowns/ComboBox/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/DropDowns/ComboBox/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/ComboBox/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -24,7 +26,7 @@ @*End:Hidden*@
-
+
@@ -39,7 +41,7 @@ @functions{ List games = new List - { +{ new { id= "Game1", text= "American Football" }, new { id= "Game2", text= "Badminton" }, new { id= "Game3", text= "Basketball" }, @@ -52,7 +54,9 @@ new { id= "Game10", text= "Tennis"}, }; - public object comboBoxFields = new { - Text="Game", Value="Id" + public object comboBoxFields = new + { + Text = "Game", + Value = "Id" }; } diff --git a/ej2-blazor-samples/Pages/DropDowns/ComboBox/Filtering.razor b/ej2-blazor-samples/Pages/DropDowns/ComboBox/Filtering.razor index 549f85381..bb817c132 100644 --- a/ej2-blazor-samples/Pages/DropDowns/ComboBox/Filtering.razor +++ b/ej2-blazor-samples/Pages/DropDowns/ComboBox/Filtering.razor @@ -1,5 +1,7 @@ @page "/ComboBox/Filtering" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -65,9 +67,11 @@ new { Name = "Switzerland", Code = "CH" }, new { Name = "United Kingdom", Code = "GB" }, new { Name = "United States", Code = "US" }, - }; + }; - public object ComboBoxFieldSettings = new { - text = "Name", value = "Code" - }; - } + public object ComboBoxFieldSettings = new + { + text = "Name", + value = "Code" + }; +} diff --git a/ej2-blazor-samples/Pages/DropDowns/DropDownList/DataBinding.razor b/ej2-blazor-samples/Pages/DropDowns/DropDownList/DataBinding.razor index d7d413a68..46cb7985d 100644 --- a/ej2-blazor-samples/Pages/DropDowns/DropDownList/DataBinding.razor +++ b/ej2-blazor-samples/Pages/DropDowns/DropDownList/DataBinding.razor @@ -1,5 +1,7 @@ @page "/DropDownList/DataBinding" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -72,7 +74,7 @@ @functions{ List games = new List - { +{ new { id= "Game1", text= "American Football" }, new { id= "Game2", text= "Badminton" }, new { id= "Game3", text= "Basketball" }, @@ -85,21 +87,26 @@ new { id= "Game10", text= "Tennis"}, }; - public object dropDownFields = new { - text="text", value="id" + public object dropDownFields = new + { + text = "text", + value = "id" }; - public object remoteData = new { - Url ="https://ej2services.syncfusion.com/production/web-services/api/Employees", - CrossDomain = "true", - Adaptor = "WebApiAdaptor" + public object remoteData = new + { + Url = "https://ej2services.syncfusion.com/production/web-services/api/Employees", + CrossDomain = "true", + Adaptor = "WebApiAdaptor" }; - public object remoteDropDownFields = new { - Text="FirstName", Value="EmployeeID" + public object remoteDropDownFields = new + { + Text = "FirstName", + Value = "EmployeeID" }; - public string dataQuery { get; set;} = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; + public string dataQuery { get; set; } = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; public string sort { get; set; } = "Ascending"; - } +} diff --git a/ej2-blazor-samples/Pages/DropDowns/DropDownList/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/DropDowns/DropDownList/DefaultFunctionalities.razor index 5383bcbfe..1cbbaee40 100644 --- a/ej2-blazor-samples/Pages/DropDowns/DropDownList/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/DropDowns/DropDownList/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/DropDownList/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -45,8 +47,8 @@ @functions{ - List games = new List - { + List games = new List +{ new { id= "Game1", text= "American Football" }, new { id= "Game2", text= "Badminton" }, new { id= "Game3", text= "Basketball" }, @@ -59,7 +61,9 @@ new { id= "Game10", text= "Tennis"}, }; - public object dropDownFields = new { - text="text", value="id" + public object dropDownFields = new + { + text = "text", + value = "id" }; - } +} diff --git a/ej2-blazor-samples/Pages/DropDowns/DropDownList/Filtering.razor b/ej2-blazor-samples/Pages/DropDowns/DropDownList/Filtering.razor index 728cea904..c9d804a25 100644 --- a/ej2-blazor-samples/Pages/DropDowns/DropDownList/Filtering.razor +++ b/ej2-blazor-samples/Pages/DropDowns/DropDownList/Filtering.razor @@ -1,5 +1,7 @@ @page "/DropDownList/Filtering" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -43,8 +45,8 @@ @functions{ - List country = new List - { + List country = new List + { new { Name = "Australia", Code = "AU" }, new { Name = "Bermuda", Code = "BM" }, new { Name = "Canada", Code = "CA" }, @@ -66,8 +68,10 @@ new { Name = "United States", Code = "US" }, }; - public object dropDownFields = new { - text = "Name", value = "Code" - }; + public object dropDownFields = new + { + text = "Name", + value = "Code" + }; - } +} diff --git a/ej2-blazor-samples/Pages/DropDowns/ListBox/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/DropDowns/ListBox/DefaultFunctionalities.razor index 011afa996..6624efa9e 100644 --- a/ej2-blazor-samples/Pages/DropDowns/ListBox/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/DropDowns/ListBox/DefaultFunctionalities.razor @@ -1,4 +1,7 @@ @page "/ListBox/DefaultFunctionalities" + +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -42,7 +45,7 @@ @functions{ List data = new List - { +{ new { text = "Hennessey Venom", id = "list-01" }, new { text = "Bugatti Chiron", id = "list-02" }, new { text = "Bugatti Veyron Super Sport", id = "list-03" }, diff --git a/ej2-blazor-samples/Pages/DropDowns/MultiSelect/DataBinding.razor b/ej2-blazor-samples/Pages/DropDowns/MultiSelect/DataBinding.razor index 85e987088..3ac66e2a7 100644 --- a/ej2-blazor-samples/Pages/DropDowns/MultiSelect/DataBinding.razor +++ b/ej2-blazor-samples/Pages/DropDowns/MultiSelect/DataBinding.razor @@ -1,5 +1,7 @@ @page "/MultiSelect/DataBinding" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -88,7 +90,7 @@ @functions{ List localdata = new List - { +{ new { Name = "Australia", Code = "AU" }, new { Name = "Bermuda", Code = "BM" }, new { Name = "Canada", Code = "CA" }, @@ -113,14 +115,15 @@ public object MultiSelectFieldSettings = new { text = "Name", value = "Code" }; public string sort { get; set; } = "Ascending"; - public object remoteData = new { - Url ="https://ej2services.syncfusion.com/production/web-services/api/Employees", + public object remoteData = new + { + Url = "https://ej2services.syncfusion.com/production/web-services/api/Employees", CrossDomain = "true", Adaptor = "WebApiAdaptor" }; - public object RemoteAutoCompleteFields = new { Text="FirstName", Value="EmployeeID" }; + public object RemoteAutoCompleteFields = new { Text = "FirstName", Value = "EmployeeID" }; - public string dataQuery { get; set;} = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; + public string dataQuery { get; set; } = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(10).requiresCount()"; - } +} diff --git a/ej2-blazor-samples/Pages/DropDowns/MultiSelect/Filtering.razor b/ej2-blazor-samples/Pages/DropDowns/MultiSelect/Filtering.razor index fa100636f..e3e3fcd89 100644 --- a/ej2-blazor-samples/Pages/DropDowns/MultiSelect/Filtering.razor +++ b/ej2-blazor-samples/Pages/DropDowns/MultiSelect/Filtering.razor @@ -1,5 +1,7 @@ @page "/MultiSelect/Filtering" +@using Syncfusion.EJ2.RazorComponents.DropDowns + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -51,7 +53,7 @@ @functions{ List country = new List - { + { new { Name = "Australia", Code = "AU" }, new { Name = "Bermuda", Code = "BM" }, new { Name = "Canada", Code = "CA" }, @@ -73,8 +75,10 @@ new { Name = "United States", Code = "US" }, }; - public object MultiSelectFieldSettings = new { - text = "Name", value = "Code" - }; - public string MultiSelectQuery = "new ej.data.Query()"; - } + public object MultiSelectFieldSettings = new + { + text = "Name", + value = "Code" + }; + public string MultiSelectQuery = "new ej.data.Query()"; +} diff --git a/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/CustomMask.razor b/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/CustomMask.razor index 4667064bd..210fbad67 100644 --- a/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/CustomMask.razor +++ b/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/CustomMask.razor @@ -1,5 +1,7 @@ @page "/MaskedTextBox/CustomMask" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ diff --git a/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/DefaultFunctionalities.razor index ab76411b4..2eb57af09 100644 --- a/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Inputs/MaskedTextBox/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/MaskedTextBox/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -10,7 +12,7 @@ SampleBrowser.ActionDescription = new string[] { @"

This sample demonstrates that the default functionalities of MaskedTextBox component. Enter numeric value for “Mobile Number” textbox then press tab key and then enter “Country ISO Code” in alphabetic format, then type “D.O.B” in numeric format. Finally enter the “Product Key” in alpha numeric format.

" - }; + }; SampleBrowser.Description = new string[] { @"

@@ -26,7 +28,7 @@ documentation section .

" - }; + }; } @*End:Hidden*@ diff --git a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/CustomFormat.razor b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/CustomFormat.razor index 25bad58c5..621358ccc 100644 --- a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/CustomFormat.razor +++ b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/CustomFormat.razor @@ -1,5 +1,7 @@ @page "/NumericTextBox/CustomFormat" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -10,7 +12,7 @@ SampleBrowser.ActionDescription = new string[] { @"

This sample demonstrates the custom format functionalities of the Numeric TextBox. The value of Numeric TextBox will be displayed with defined custom format while type a value or change a value using up/down buttons in the input boxes.

" - }; + }; SampleBrowser.Description = new string[] { @"

The NumericTextBox provides an option to customize the display format of the numeric value using the format property. It accepts the standard numeric format string and custom numeric format string as specified in MSDN. The formatted value displays when the component is not focused. @@ -65,5 +67,4 @@ padding: 24px 0px 10px 0px; font-size: 12px; } - \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/DefaultFunctionalities.razor index d680ff045..3df671373 100644 --- a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/DefaultFunctionalities.razor @@ -1,5 +1,7 @@ @page "/NumericTextBox/DefaultFunctionalities" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -68,5 +70,4 @@ padding: 24px 0px 10px 0px; font-size: 12px; } - diff --git a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/RestrictDecimals.razor b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/RestrictDecimals.razor index b397477d0..8244ea144 100644 --- a/ej2-blazor-samples/Pages/Inputs/NumericTextBox/RestrictDecimals.razor +++ b/ej2-blazor-samples/Pages/Inputs/NumericTextBox/RestrictDecimals.razor @@ -1,5 +1,7 @@ @page "/NumericTextBox/RestrictDecimals" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -10,7 +12,7 @@ SampleBrowser.ActionDescription = new string[] { @"

This sample demonstrates the decimal functionalities of the Numeric TextBox. Type a value in the input element to change dynamically, and it allows maximum of 3 decimal digits.

" - }; + }; SampleBrowser.Description = new string[] { @"

@@ -23,7 +25,7 @@ documentation section .

" - }; + }; } @*End:Hidden*@ @@ -64,5 +66,4 @@ .e-float-input.e-numeric.e-input-group { margin-top: 40px; } - diff --git a/ej2-blazor-samples/Pages/Inputs/Uploader/ChunkUpload.razor b/ej2-blazor-samples/Pages/Inputs/Uploader/ChunkUpload.razor index 3143c04da..b64f76155 100644 --- a/ej2-blazor-samples/Pages/Inputs/Uploader/ChunkUpload.razor +++ b/ej2-blazor-samples/Pages/Inputs/Uploader/ChunkUpload.razor @@ -1,5 +1,7 @@ @page "/Uploader/ChunkUpload" +@using Syncfusion.EJ2.RazorComponents.Inputs + @*Hidden:Lines*@ @using ej2_blazor_samples @{ @@ -42,9 +44,10 @@ @functions{ - public object asyncSettings = new { - saveUrl= "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save", - removeUrl= "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove", + public object asyncSettings = new + { + saveUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save", + removeUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove", chunkSize = "500000" }; - } \ No newline at end of file +} \ No newline at end of file diff --git a/ej2-blazor-samples/Pages/Navigations/Accordion/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Navigations/Accordion/DefaultFunctionalities.razor index 16bc6f3e4..6fe3c5d56 100644 --- a/ej2-blazor-samples/Pages/Navigations/Accordion/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Navigations/Accordion/DefaultFunctionalities.razor @@ -16,11 +16,11 @@
- - - - - + + + + +
diff --git a/ej2-blazor-samples/Pages/Navigations/Accordion/Icons.razor b/ej2-blazor-samples/Pages/Navigations/Accordion/Icons.razor index d3411b9c4..7ea8cdcbf 100644 --- a/ej2-blazor-samples/Pages/Navigations/Accordion/Icons.razor +++ b/ej2-blazor-samples/Pages/Navigations/Accordion/Icons.razor @@ -16,12 +16,12 @@
- - - - - - + + + + + +
diff --git a/ej2-blazor-samples/Pages/Navigations/Tab/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Navigations/Tab/DefaultFunctionalities.razor index 61f2a5c6f..86d503f78 100644 --- a/ej2-blazor-samples/Pages/Navigations/Tab/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Navigations/Tab/DefaultFunctionalities.razor @@ -27,8 +27,6 @@
- @* - *@ diff --git a/ej2-blazor-samples/Pages/Navigations/TreeView/CheckBox.razor b/ej2-blazor-samples/Pages/Navigations/TreeView/CheckBox.razor index c854860ab..d5d6c2763 100644 --- a/ej2-blazor-samples/Pages/Navigations/TreeView/CheckBox.razor +++ b/ej2-blazor-samples/Pages/Navigations/TreeView/CheckBox.razor @@ -1,6 +1,7 @@ @page "/TreeView/CheckBox" @using Syncfusion.EJ2.RazorComponents.Lists +@using Syncfusion.EJ2.RazorComponents.Navigations @*Hidden:Lines*@ @using ej2_blazor_samples @@ -23,7 +24,7 @@ @using Syncfusion.EJ2
- +
@@ -196,7 +197,7 @@ }); this.fields = new { - child="child", + child = "child", dataSource = parentitem, id = "id", parentId = "pid", diff --git a/ej2-blazor-samples/Pages/Navigations/TreeView/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Navigations/TreeView/DefaultFunctionalities.razor index a83f39072..3945f5b0f 100644 --- a/ej2-blazor-samples/Pages/Navigations/TreeView/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Navigations/TreeView/DefaultFunctionalities.razor @@ -1,6 +1,7 @@ @page "/TreeView/DefaultFunctionalities" @using Syncfusion.EJ2.RazorComponents.Lists +@using Syncfusion.EJ2.RazorComponents.Navigations @*Hidden:Lines*@ @using ej2_blazor_samples @@ -22,9 +23,9 @@ @using Syncfusion.EJ2
- + -
+
@functions{ @@ -114,7 +115,7 @@ expanded = "expanded" }; - } + } public class Parentitem { public string nodeId { get; set; } diff --git a/ej2-blazor-samples/Pages/Notifications/Toast/DefaultFunctionalities.razor b/ej2-blazor-samples/Pages/Notifications/Toast/DefaultFunctionalities.razor index 0d3175864..6b5330374 100644 --- a/ej2-blazor-samples/Pages/Notifications/Toast/DefaultFunctionalities.razor +++ b/ej2-blazor-samples/Pages/Notifications/Toast/DefaultFunctionalities.razor @@ -30,7 +30,7 @@
- +
diff --git a/ej2-blazor-samples/Pages/RichTextEditor/RichTextEditor/Markdown-Overview.razor b/ej2-blazor-samples/Pages/RichTextEditor/RichTextEditor/Markdown-Overview.razor index bd5f4f44b..87d8ed6d2 100644 --- a/ej2-blazor-samples/Pages/RichTextEditor/RichTextEditor/Markdown-Overview.razor +++ b/ej2-blazor-samples/Pages/RichTextEditor/RichTextEditor/Markdown-Overview.razor @@ -1,6 +1,7 @@ @page "/RichTextEditor/Markdown-Overview" @using Syncfusion.EJ2.RazorComponents.Buttons +@using Syncfusion.EJ2.RazorComponents.RichTextEditor @*@inherits RteDf*@ @@ -40,7 +41,7 @@ @* *@ + Height="250px" EditorMode="@Syncfusion.EJ2.RazorComponents.RichTextEditor.EditorMode.Markdown"> @@ -49,7 +50,7 @@ @functions{ private bool CharCount { get; set; } = true; - + private string value { get; set; } = @"The sample is added to showcase **markdown editing**. Type or edit the content and apply formatting to view markdown formatted content. @@ -62,7 +63,7 @@ The third-party library Marked is used in this sample to convert markdown "Formats", "OrderedList", "UnorderedList", "|", "CreateLink", "Image", "CreateTable", "|", "Undo", "Redo" }; -public object ToolbarItem { get; set; } = new ToolbarProperties{items=tools}; + public object ToolbarItem { get; set; } = new ToolbarProperties { items = tools }; - } +}