This commit is contained in:
SyncfusionBuild 2022-12-27 08:02:00 +00:00
Родитель f1944f98cf
Коммит 7079acb05b
3560 изменённых файлов: 956766 добавлений и 0 удалений

11
.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1,11 @@
.npmrc
.vs/
**/.vs/
src/bin
src/obj
node_modules/
bin/
obj/
package-lock.json
deploy/
npm-debug.log

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AccordionController : Controller
{
public IActionResult Ajax()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AccordionController : Controller
{
// GET: /<controller>/
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AccordionController : Controller
{
public IActionResult Icons()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AccordionController : Controller
{
// GET: /<controller>/
public IActionResult KeyboardInteraction()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AccordionController : Controller
{
public IActionResult Rtl()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,144 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System;
using Syncfusion.EJ2.Navigations;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AppBarController : Controller
{
public IActionResult Color()
{
List<object> productDropDownButtonItems = new List<object>();
productDropDownButtonItems.Add(new
{
text = "Developer",
});
productDropDownButtonItems.Add(new
{
text = "Analytics",
});
productDropDownButtonItems.Add(new
{
text = "Reporting",
});
productDropDownButtonItems.Add(new
{
text = "E-Signature",
});
productDropDownButtonItems.Add(new
{
text = "Help-Desk",
});
ViewBag.ProductDropDownButtonItems = productDropDownButtonItems;
List<object> companyDropDownButtonItems = new List<object>();
companyDropDownButtonItems.Add(new
{
text = "Dashboard",
});
companyDropDownButtonItems.Add(new
{
text = "Notifications",
});
companyDropDownButtonItems.Add(new
{
text = "User Settings",
});
companyDropDownButtonItems.Add(new
{
text = "Log Out",
});
ViewBag.CompanyDropDownButtonItems = companyDropDownButtonItems;
List<MenuItem> verticalMenuItems = new List<MenuItem>(){
new MenuItem
{
IconCss= "e-icons e-more-vertical-1",
Items = new List<MenuItem>()
{
new MenuItem { Text= "Home" },
new MenuItem
{
Text = "Products",
Items = new List<MenuItem>()
{
new MenuItem { Text= "Developer" },
new MenuItem { Text= "Analytics" },
new MenuItem { Text= "Reporting" },
new MenuItem { Text= "E-Signature" },
new MenuItem { Text= "Help Desk" }
}
},
new MenuItem
{
Text = "Company",
Items = new List<MenuItem>()
{
new MenuItem { Text= "About Us" },
new MenuItem { Text= "Customers" },
new MenuItem { Text= "Blog" },
new MenuItem { Text= "Careers" }
}
},
new MenuItem { Text = "Login" }
}
}
};
ViewBag.VerticalMenuItems = verticalMenuItems;
List<ColorData> appBarColors = new List<ColorData>();
appBarColors.Add(new ColorData
{
ColorMode = "Light",
ColorClass = " e-light",
AppBarColorMode = AppBarColor.Light,
IsPrimary = true,
LoginClass = "login"
});
appBarColors.Add(new ColorData
{
ColorMode = "Dark",
ColorClass = " e-dark",
AppBarColorMode = AppBarColor.Dark,
IsPrimary = false,
LoginClass = "e-inherit login"
});
appBarColors.Add(new ColorData
{
ColorMode = "Primary",
ColorClass = " e-primary",
AppBarColorMode = AppBarColor.Primary,
IsPrimary = false,
LoginClass = "e-inherit login"
});
appBarColors.Add(new ColorData
{
ColorMode = "Inherit",
ColorClass = "",
AppBarColorMode = AppBarColor.Inherit,
IsPrimary = true,
LoginClass = "login"
});
ViewBag.AppBarColors = appBarColors;
return View();
}
public class ColorData
{
public string? ColorMode { get; set; }
public string? ColorClass { get; set; }
public AppBarColor AppBarColorMode { get; set; }
public bool IsPrimary { get; set; }
public string? LoginClass { get; set; }
}
}
}

Просмотреть файл

@ -0,0 +1,19 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AppBarController : Controller
{
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
{
public partial class ArcGaugeController : Controller
{
public IActionResult CustomerSatisfactionScore()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser_NET6.Controllers.ArcGauge
{
public class ArcGaugeController : Controller
{
public IActionResult Default()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
{
public partial class ArcGaugeController : Controller
{
public IActionResult KeyPerformanceIndicator()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
{
public partial class ArcGaugeController : Controller
{
public IActionResult Patterns()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,40 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
namespace EJ2CoreSampleBrowser.Controllers
{
public class AutoCompleteValue
{
[Required(ErrorMessage = "Please enter a value")]
public string val { get; set; }
public string[] data { get; set; }
}
public partial class AutoCompleteController : Controller
{
public string[] datasource = new string[] { "American Football", "Badminton", "Basketball", "Cricket", "Football", "Golf", "Hockey", "Rugby", "Snooker", "Tennis" };
public IActionResult AutoCompleteFor()
{
AutoCompleteValue model = new AutoCompleteValue();
model.data = datasource;
return View(model);
}
[HttpPost]
public IActionResult AutoCompleteFor(AutoCompleteValue model)
{
model.data = datasource;
model.val = model.val;
return View(model);
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult CustomFiltering()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult DataBinding()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult DiacriticsFiltering()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult GroupingAndIcon()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult Highlight()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AutoCompleteController : Controller
{
public IActionResult Template()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AvatarController : Controller
{
public IActionResult Badge()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AvatarController : Controller
{
public IActionResult Card()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AvatarController : Controller
{
public IActionResult Default()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AvatarController : Controller
{
public IActionResult Listview()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class AvatarController : Controller
{
public IActionResult Types()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Accordion()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Default()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Listview()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Notification()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Toolbar()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BadgeController : Controller
{
public IActionResult Types()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,35 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult Ean8()
{
return View();
}
}
public class ExpandOptions
{
public string text;
public string value;
}
public class alignment
{
public string text;
public string value;
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult codabar()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code128A()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code128B()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code128C()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code128()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code32()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code39()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code39Extd()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult code93()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult datamatrix()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult ean13()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,30 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult qrcode()
{
return View();
}
}
public class coorectionLevel
{
public string text;
public string value;
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult upca()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Barcode
{
public partial class BarcodeController : Controller
{
public IActionResult upce()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,220 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
using Syncfusion.EJ2.Navigations;
using Syncfusion.EJ2.Base;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
// GET: /<controller>/
public IActionResult AddressBar()
{
return View();
}
public IActionResult AddressBarItemTemplatePartial([FromBody] CRUDModel<BreadcrumbItemModel> value)
{
string id = value.Value.Text != null ? value.Value.Text.Split(" ")[0].Split(".")[0] : "Home";
List<MenuItem> menuItems = new List<MenuItem>(){
new MenuItem
{
Text = value.Value.Text,
IconCss = value.Value.IconCss
}
};
ViewBag.menuItems = menuItems;
return PartialView("_AddressBarItemTemplatePartial", id);
}
public IActionResult AddressBarSeparatorTemplatePartial([FromBody] CRUDModel<BreadcrumbItemModel> value)
{
string id = value.Value.Text != null ? value.Value.Text.Split(" ")[0].Split(".")[0] : "Home";
List<MenuItem> parentMenuItems = new List<MenuItem>() {
new MenuItem { Items = new List<MenuItem>() }
};
List<MenuItem> subMenuItems = (List<MenuItem>)parentMenuItems[0].Items;
var items = getItems(value.Value.Text, false, value.Value.Items);
if (items != null)
{
foreach (var item in items)
{
subMenuItems.Add(new MenuItem { Text = item.Text, Id = item.Type });
}
}
ViewBag.subMenuItems = parentMenuItems;
return PartialView("_AddressBarSeparatorTemplatePartial", id);
}
private List<AddressBarItemModel> getItems(string text, bool needParent, List<BreadcrumbItemModel> breadcrumbItems)
{
List<AddressBarItemModel> mItems = items;
bool isBreaked = false;
if (text == null || text == "")
{
mItems = getSubMenuItems(mItems);
}
else
{
for (var i = 1; i < breadcrumbItems.Count; i++)
{
for (var j = 0; j < mItems.Count; j++)
{
if (mItems[j].Text == breadcrumbItems[i].Text)
{
if (mItems[j].Text == text)
{
if (needParent)
{
mItems = new List<AddressBarItemModel>() { mItems[j] };
}
else
{
mItems = getSubMenuItems(mItems[j].Items);
}
isBreaked = true;
}
else
{
mItems = mItems[j].Items;
j = 0;
if (mItems == null)
{
isBreaked = true;
}
}
break;
}
}
if (isBreaked)
{
break;
}
}
}
return mItems;
}
private List<AddressBarItemModel> getSubMenuItems(List<AddressBarItemModel> mItems)
{
List<AddressBarItemModel> subItems = new List<AddressBarItemModel>();
if (mItems != null)
{
for (var i = 0; i < mItems.Count; i++)
{
subItems.Add(new AddressBarItemModel { Text = mItems[i].Text, Type = mItems[i].Type });
}
}
return subItems;
}
private List<AddressBarItemModel> items = new List<AddressBarItemModel>() {
new AddressBarItemModel {
Text = "OneDrive", Type = "onedrive",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Documents", Type = "folder" },
new AddressBarItemModel { Text = "Email attachments", Type = "folder" },
new AddressBarItemModel { Text = "Music", Type = "folder" },
new AddressBarItemModel { Text = "Pictures", Type = "folder" }
}
},
new AddressBarItemModel {
Text = "This PC", Type = "desktop",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Desktop", Type = "desktop" },
new AddressBarItemModel { Text = "Documents", Type = "documents",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "IISExpress", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "config", Type = "folder" }
} },
new AddressBarItemModel { Text = "Visual Studio 2019", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Code Snippets", Type = "folder" },
new AddressBarItemModel { Text = "Templates", Type = "folder" },
new AddressBarItemModel { Text = "Visualizers", Type = "folder" }
} }
} },
new AddressBarItemModel { Text = "Downloads", Type = "downloads" },
new AddressBarItemModel { Text = "Local Disk (C:)", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel {
Text = "Microsoft", Type = "folder"
},
new AddressBarItemModel { Text = "Program Files", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Git", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "bin", Type = "folder" },
new AddressBarItemModel { Text = "cmd", Type = "folder" },
new AddressBarItemModel { Text = "dev", Type = "folder" }
} },
new AddressBarItemModel { Text = "Google", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Chrome", Type = "folder" }
} },
new AddressBarItemModel { Text = "Internet Explorer", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "en-US", Type = "folder" }
} }
} },
new AddressBarItemModel { Text = "Program Files (x86)", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Microsoft", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Edge", Type = "folder" }
} },
new AddressBarItemModel { Text = "MSBuild", Type = "folder" },
new AddressBarItemModel { Text = "Windows Defender", Type = "folder" }
} },
new AddressBarItemModel {
Text = "Users", Type = "folder", Items = new List<AddressBarItemModel>() {
new AddressBarItemModel {
Text = "Admin", Type = "folder", Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Desktop", Type = "desktop" },
new AddressBarItemModel { Text = "Documents", Type = "documents" },
new AddressBarItemModel { Text = "Downloads", Type = "downloads" },
new AddressBarItemModel { Text = "Pictures", Type = "picture" }
}
},
new AddressBarItemModel { Text = "Public", Type = "folder" }
}
},
new AddressBarItemModel { Text = "Windows", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Boot", Type = "folder" },
new AddressBarItemModel { Text = "System32", Type = "folder",
Items = new List<AddressBarItemModel>() {
new AddressBarItemModel { Text = "Configuration", Type = "folder" },
new AddressBarItemModel { Text = "LogFiles", Type = "folder" }
} }
} }
}
},
new AddressBarItemModel { Text = "Local Disk (D:)", Type = "folder" }
}
},
new AddressBarItemModel { Text = "Libraries", Type = "folder" },
new AddressBarItemModel { Text = "Network", Type = "network" },
new AddressBarItemModel { Text = "Recycle Bin", Type = "recyclebin" }
};
public class AddressBarItemModel
{
public string Text { get; set; }
public string Type { get; set; }
public List<AddressBarItemModel> Items { get; set; }
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
public IActionResult BindToLocation()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
// GET: /<controller>/
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
public IActionResult Events()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
public IActionResult KeyboardNavigation()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
// GET: /<controller>/
public IActionResult OverFlowModes()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class BreadcrumbController : Controller
{
public IActionResult TemplateAndCustomization()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,29 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Custom()
{
return View();
}
}
public class CustomBulletData
{
public double value;
public double target;
}
}

Просмотреть файл

@ -0,0 +1,29 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Default()
{
return View();
}
}
public class DefaultBulletData
{
public double value;
public double target;
}
}

Просмотреть файл

@ -0,0 +1,29 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Dot()
{
return View();
}
}
public class DotBulletData
{
public double value;
public double target;
}
}

Просмотреть файл

@ -0,0 +1,28 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Legend()
{
return View();
}
}
public class LegendData
{
public double value;
public double[] target;
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult MultipleData()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Rtl()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
{
public partial class BulletChartController : Controller
{
public IActionResult Tooltip()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult ButtonGroup()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult Checkbox()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,36 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class ButtonController : Controller
{
public IActionResult CheckboxFor()
{
CheckboxModel model = new CheckboxModel();
model.check = true;
return View(model);
}
[HttpPost]
public IActionResult CheckboxFor(CheckboxModel model)
{
return View(model);
}
}
public class CheckboxModel
{
[Range(typeof(bool), "true", "true", ErrorMessage = "You need to agree to the Terms and Conditions")]
public bool check { get; set; }
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class ButtonController : Controller
{
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Buttons;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult DropdownButton()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.SplitButtons;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult ProgressButton()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult RadioButton()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,37 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class ButtonController : Controller
{
public IActionResult RadioButtonFor()
{
RadioButtonModel model = new RadioButtonModel();
model.gender = "female";
return View(model);
}
[HttpPost]
public IActionResult RadioButtonFor(RadioButtonModel model)
{
return View(model);
}
}
public class RadioButtonModel
{
[RegularExpression("male", ErrorMessage = "Male gender is required.")]
public string gender { get; set; }
}
}

Просмотреть файл

@ -0,0 +1,24 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.SplitButtons;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult SplitButton()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public IActionResult Switch()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,36 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class ButtonController : Controller
{
public IActionResult SwitchFor()
{
SwitchModel model = new SwitchModel();
model.check = true;
return View(model);
}
[HttpPost]
public IActionResult SwitchFor(SwitchModel model)
{
return View(model);
}
}
public class SwitchModel
{
[Range(typeof(bool), "true", "true", ErrorMessage = "You need to agree to receive newsletter")]
public bool check { get; set; }
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
// GET: /<controller>/
public IActionResult DateRange()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
// GET: /<controller>/
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
// GET: /<controller>/
public IActionResult DisabledDates()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
// GET: /<controller>/
public IActionResult IslamicCalendar()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
public IActionResult MonthPicker()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Calendar
{
public partial class CalendarController : Controller
{
public IActionResult MultiSelection()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CalendarController : Controller
{
// GET: /<controller>/
public IActionResult SpecialDates()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult BasicCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult FlipCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult HorizontalCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult RevealCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult SwipeableCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult TileView()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class CardController : Controller
{
public IActionResult VerticalCard()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,51 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult API()
{
ViewBag.showArrowData = GetArrowData();
ViewBag.intervalData = GetIntervalData();
return View();
}
public class ShowArrow
{
public string Arrow { get; set; }
public string Id { get; set; }
}
public List<ShowArrow> GetArrowData()
{
List<ShowArrow> arrows = new List<ShowArrow>();
arrows.Add(new ShowArrow { Arrow = "Hidden", Id = "Hidden" });
arrows.Add(new ShowArrow { Arrow = "Visible", Id = "Visible" });
arrows.Add(new ShowArrow { Arrow = "On Hover", Id = "VisibleOnHover" });
return arrows;
}
public class ShowInterval
{
public string Interval { get; set; }
public double Id { get; set; }
}
public List<ShowInterval> GetIntervalData()
{
List<ShowInterval> intervals = new List<ShowInterval>();
intervals.Add(new ShowInterval { Interval = "3 Seconds", Id = 3000 });
intervals.Add(new ShowInterval { Interval = "5 Seconds", Id = 5000 });
intervals.Add(new ShowInterval { Interval = "7 Seconds", Id = 7000 });
return intervals;
}
}
}

Просмотреть файл

@ -0,0 +1,31 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult DataBinding()
{
return View();
}
}
public class CarouselDataBinding
{
public int Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public string ImgPath { get; set; }
public string URL { get; set; }
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult KeyboardNavigation()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult PartialVisible()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,23 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.Carousel
{
public partial class CarouselController : Controller
{
public IActionResult Templates()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult ADIChart()
{
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,53 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult Annotation()
{
List<ChartData> dataSource = new List<ChartData>
{
new ChartData {x = "2014", y0= 51, y1= 77, y2= 66, y3= 34 },
new ChartData { x= "2015", y0= 67, y1= 49, y2= 19, y3= 38 },
new ChartData { x= "2016", y0= 143, y1= 121, y2= 91, y3= 44},
new ChartData { x= "2017", y0= 19, y1= 28, y2= 65, y3= 51 },
new ChartData { x= "2018", y0= 30, y1= 66, y2= 32, y3= 61},
new ChartData { x= "2019", y0= 189, y1= 128, y2= 122, y3= 76},
new ChartData { x= "2020", y0= 72, y1= 97, y2= 65, y3= 82 },
};
ViewBag.dataSource = dataSource;
Syncfusion.EJ2.Charts.ChartSelectedDataIndex select = new Syncfusion.EJ2.Charts.ChartSelectedDataIndex();
select.Point = 0;
//select.Series = 0;
List<Syncfusion.EJ2.Charts.ChartSelectedDataIndex> index = new List<Syncfusion.EJ2.Charts.ChartSelectedDataIndex>
{
select
};
ViewBag.selectedData = index;
ViewBag.content = "<div id='chart_annotation' style='width: 200px; height: 200px'></div>";
return View();
}
public class ChartData
{
public string x;
public double y0;
public double y1;
public double y2;
public double y3;
}
}
}

Просмотреть файл

@ -0,0 +1,40 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult Area()
{
List<AreaChartData> chartData = new List<AreaChartData>
{
new AreaChartData { xValue = new DateTime(2000, 01, 01), yValue = 4, yValue1 = 2.6 },
new AreaChartData { xValue = new DateTime(2001, 01, 01), yValue = 3.0, yValue1 = 2.8 },
new AreaChartData { xValue = new DateTime(2002, 01, 01), yValue = 3.8, yValue1 = 2.6 },
new AreaChartData { xValue = new DateTime(2003, 01, 01), yValue = 3.4, yValue1 = 3 },
new AreaChartData { xValue = new DateTime(2004, 01, 01), yValue = 3.2, yValue1 = 3.6 },
new AreaChartData { xValue = new DateTime(2005, 01, 01), yValue = 3.9, yValue1 = 3 },
};
ViewBag.dataSource = chartData;
return View();
}
public class AreaChartData
{
public DateTime xValue;
public double yValue;
public double yValue1;
}
}
}

Просмотреть файл

@ -0,0 +1,57 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult AreaEmpty()
{
List<AreaEmptyChartData> chartData = new List<AreaEmptyChartData>
{
new AreaEmptyChartData { x= "2002", y= 2 },
new AreaEmptyChartData { x= "2003", y= 1.7 },
new AreaEmptyChartData { x= "2004", y= 1.8 },
new AreaEmptyChartData { x= "2005", y= 2.1 },
new AreaEmptyChartData { x= "2006", y= 2.3 },
new AreaEmptyChartData { x= "2007", y= 1.7 },
new AreaEmptyChartData { x= "2008", y= 1.5 },
new AreaEmptyChartData { x= "2009", y= 1.8 },
new AreaEmptyChartData { x= "2010", y= 2 },
new AreaEmptyChartData { x= "2011", y= 3.1 }
};
ViewBag.dataSource = chartData;
List<AreaEmptyChartData> chartData1 = new List<AreaEmptyChartData>
{
new AreaEmptyChartData { x= "2002", y= 2.2 },
new AreaEmptyChartData { x= "2003", y= 3.4 },
new AreaEmptyChartData { x= "2004", y= 2.8 },
new AreaEmptyChartData { x= "2005", y= Double.NaN },
new AreaEmptyChartData { x= "2006", y= Double.NaN },
new AreaEmptyChartData { x= "2007", y= 2.5 },
new AreaEmptyChartData { x= "2008", y= 2.9 },
new AreaEmptyChartData { x= "2009", y= 3.8 },
new AreaEmptyChartData { x= "2010", y= 1.4 },
new AreaEmptyChartData { x= "2011", y= 3.1 }
};
ViewBag.dataSource1 = chartData1;
return View();
}
public class AreaEmptyChartData
{
public string x;
public double y;
}
}
}

Просмотреть файл

@ -0,0 +1,56 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult AreaNegative()
{
List<AreaNegativeChartData> MaryValues = new List<AreaNegativeChartData>
{
new AreaNegativeChartData { Vegetable = "Onion", Price = 3000 },
new AreaNegativeChartData { Vegetable = "Potato", Price = 4000 },
new AreaNegativeChartData { Vegetable = "Tomato", Price = -4000 },
new AreaNegativeChartData { Vegetable = "Corn", Price = -2000 },
new AreaNegativeChartData { Vegetable = "Carrot", Price = 5000 }
};
List<AreaNegativeChartData> PatriciaValues = new List<AreaNegativeChartData>
{
new AreaNegativeChartData { Vegetable = "Onion", Price = 2000 },
new AreaNegativeChartData { Vegetable = "Potato", Price = 3000 },
new AreaNegativeChartData { Vegetable = "Tomato", Price = 4000 },
new AreaNegativeChartData { Vegetable = "Corn", Price = 2000 },
new AreaNegativeChartData { Vegetable = "Carrot", Price = 3000 }
};
List<AreaNegativeChartData> LindaValues = new List<AreaNegativeChartData>
{
new AreaNegativeChartData { Vegetable = "Onion", Price = 2000 },
new AreaNegativeChartData { Vegetable = "Potato", Price = -1000 },
new AreaNegativeChartData { Vegetable = "Tomato", Price = -3000 },
new AreaNegativeChartData { Vegetable = "Corn", Price = 4000 },
new AreaNegativeChartData { Vegetable = "Carrot", Price = 1000 }
};
ViewBag.dataSource1 = MaryValues;
ViewBag.dataSource2 = PatriciaValues;
ViewBag.dataSource3 = LindaValues;
return View();
}
public class AreaNegativeChartData
{
public string Vegetable;
public double Price;
}
}
}

Просмотреть файл

@ -0,0 +1,42 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult AreaZone()
{
List<ChartSegment> segments = new List<ChartSegment>();
ChartSegment segment1 = new ChartSegment();
segment1.Value = new DateTime(2016, 5, 1);
segment1.Color = "url(#winter)";
segments.Add(segment1);
ChartSegment segment2 = new ChartSegment();
segment2.Value = new DateTime(2016, 8, 1);
segment2.Color = "url(#summer)";
segments.Add(segment2);
ChartSegment segment3 = new ChartSegment();
segment3.Color = "url(#spring)";
segments.Add(segment3);
ViewBag.segment = segments;
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,26 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult AtrChart()
{
ViewBag.interval = 6000000000;
return View();
}
}
}

Просмотреть файл

@ -0,0 +1,76 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class ChartController : Controller
{
public IActionResult AxisCrossing()
{
List<AxisData> scatterData = new List<AxisData>
{
new AxisData { xValue = -6, yValue1 = 2},
new AxisData { xValue = -3, yValue1 = -4 },
new AxisData { xValue = 1.5, yValue1 = 3.5 },
new AxisData { xValue = 6, yValue1 = 4.5},
};
List<AxisData> splineData = new List<AxisData>
{
new AxisData { xValue = -6, yValue1 = 2},
new AxisData { xValue = -5.291, yValue1 = 0.1 },
new AxisData { xValue = -5, yValue1 = -0.77},
new AxisData { xValue = -3, yValue1 = -4},
new AxisData { xValue = -0.6, yValue1 = -0.965},
new AxisData { xValue = -0.175, yValue1 = 0.1},
new AxisData { xValue = 0.1, yValue1 = 0.404},
new AxisData { xValue = 1.5, yValue1 = 3.5},
new AxisData { xValue = 3.863, yValue1 = 5.163},
new AxisData { xValue = 6, yValue1 = 4.5},
};
List<AxisData> lineData = new List<AxisData>
{
new AxisData { xValue = -6, yValue1 = 2},
new AxisData { xValue = -5, yValue1 = 0.1 },
new AxisData { xValue = -4.511, yValue1 = -0.977},
new AxisData { xValue = -3, yValue1 = -4},
new AxisData { xValue = -1.348, yValue1 = -1.247},
new AxisData { xValue = -0.6, yValue1 = 0.11},
new AxisData { xValue = 0.1, yValue1 = 1},
new AxisData { xValue = 1.5, yValue1 = 3.5},
new AxisData { xValue = 6, yValue1 = 4.5},
};
ViewBag.scatter = scatterData;
ViewBag.spline = splineData;
ViewBag.line = lineData;
ViewBag.axis = new String[] { "xAxis", "yAxis" };
return View();
}
public class AxisData
{
public Nullable<double> xValue;
public Nullable<double> yValue1;
}
}
}

Просмотреть файл

@ -0,0 +1,45 @@
#region Copyright Syncfusion Inc. 2001-2022.
// Copyright Syncfusion Inc. 2001-2022. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Charts;
namespace EJ2CoreSampleBrowser.Controllers.Chart
{
public partial class ChartController : Controller
{
public IActionResult Bar()
{
List<BarChartData> chartData = new List<BarChartData>
{
new BarChartData { x= "Egg", y= 2.2 },
new BarChartData { x= "Fish", y= 2.4 },
new BarChartData { x= "Misc", y= 3 },
new BarChartData { x= "Tea", y= 3.1 }
};
ViewBag.dataSource = chartData;
List<BarChartData> chartData1 = new List<BarChartData>
{
new BarChartData { x= "Egg", y= 1.2 },
new BarChartData { x= "Fish", y= 1.3 },
new BarChartData { x= "Misc", y= 1.5 },
new BarChartData { x= "Tea", y= 2.2 }
};
ViewBag.dataSource1 = chartData1;
return View();
}
public class BarChartData
{
public string x;
public double y;
}
}
}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше