The following quick start guide is intended to get you up and running with the Calendar control. In this quick start, you'll start with creating a new application, add the Calendar control to it, customize it and display the calendar.
Example Title |
コードのコピー
|
---|---|
<link rel="stylesheet" href="/_content/C1.Blazor.Core/styles.css" /> <link rel="stylesheet" href="~/_content/C1.Blazor.Calendar/styles.css" /> |
HTML |
コードのコピー
|
---|---|
<script src="/_content/C1.Blazor.Core/scripts.js"></script> <script src="~/_content/C1.Blazor.Calendar/scripts.js"></script> |
Display the Calendar control with first day of the week set as "Monday" by simply using the FirstDayOfWeek property of the C1Calendar class as shown in the following code:
C# |
コードのコピー
|
---|---|
@page "/Calendar/Index" @using C1.Blazor.Calendar @using C1.Blazor.Core <C1Calendar FirstDayOfWeek="@DayOfWeek.Monday"></C1Calendar> |