|
16 | 16 | <MudSelectItem Value="item">@item.ToDescriptionString()</MudSelectItem> |
17 | 17 | } |
18 | 18 | </MudSelect> |
19 | | - <MudSwitch @bind-Value="_editable" Color="Color.Primary" Label="Editable" /> |
20 | | - <MudSwitch @bind-Value="_showToolbar" Color="Color.Primary" Label="Show Toolbar" /> |
21 | | - <MudSwitch @bind-Value="_showHeader" Color="Color.Primary" Label="Show Header" /> |
22 | | - <MudSwitch @bind-Value="_submitOnClose" Color="Color.Primary" Label="Submit On Close" /> |
| 19 | + <MudSwitchM3 @bind-Value="_editable" Color="Color.Secondary" Label="Editable" /> |
| 20 | + <MudSwitchM3 @bind-Value="_showToolbar" Color="Color.Secondary" Label="Show Toolbar" /> |
| 21 | + <MudSwitchM3 @bind-Value="_showHeader" Color="Color.Secondary" Label="Show Header" /> |
| 22 | + <MudSwitchM3 @bind-Value="_submitOnClose" Color="Color.Secondary" Label="Submit On Close" /> |
23 | 23 | <MudSelect @bind-Value="_color" Variant="Variant.Outlined" Label="Color"> |
24 | 24 | @foreach (Color item in Enum.GetValues<Color>()) |
25 | 25 | { |
|
33 | 33 | } |
34 | 34 | </MudSelect> |
35 | 35 | <div class="d-flex flex-wrap"> |
36 | | - <MudCheckBox @bind-Value="_fixDay" Label="Fix Day" /> |
37 | | - <MudCheckBox @bind-Value="_fixMonth" Label="Fix Month" /> |
38 | | - <MudCheckBox @bind-Value="_fixYear" Label="Fix Year" /> |
39 | | - <MudCheckBox @bind-Value="_fixHour" Label="Fix Hour" /> |
40 | | - <MudCheckBox @bind-Value="_fixMinute" Label="Fix Minute" /> |
41 | | - <MudCheckBox @bind-Value="_fixSecond" Label="Fix Second" /> |
| 36 | + <MudCheckBox @bind-Value="_fixDay" Label="Fix Day" Color="Color.Secondary" /> |
| 37 | + <MudCheckBox @bind-Value="_fixMonth" Label="Fix Month" Color="Color.Secondary" /> |
| 38 | + <MudCheckBox @bind-Value="_fixYear" Label="Fix Year" Color="Color.Secondary" /> |
| 39 | + <MudCheckBox @bind-Value="_fixHour" Label="Fix Hour" Color="Color.Secondary" /> |
| 40 | + <MudCheckBox @bind-Value="_fixMinute" Label="Fix Minute" Color="Color.Secondary" /> |
| 41 | + <MudCheckBox @bind-Value="_fixSecond" Label="Fix Second" Color="Color.Secondary" /> |
42 | 42 | </div> |
43 | 43 | <MudTextField @bind-Value="_dateFormat" Variant="Variant.Outlined" Label="Date Format" /> |
44 | 44 | <MudButton OnClick="@(() => _date = DateTime.Now)">Set Today</MudButton> |
|
0 commit comments