@namespace AntDesign.Internal @typeparam TValue @inherits DatePickerPanelBase
@if (ShowSuperPreChange) { } @if (ShowPreChange) { }
@if (Locale.Lang.MonthBeforeYear) { @if (Picker.IsIn(DatePickerType.Date, DatePickerType.Week)) { } @if (Picker.IsIn(DatePickerType.Date, DatePickerType.Month, DatePickerType.Quarter, DatePickerType.Week)) { } } else { @if (Picker.IsIn(DatePickerType.Date, DatePickerType.Month, DatePickerType.Quarter, DatePickerType.Week)) { } @if (Picker.IsIn(DatePickerType.Date, DatePickerType.Week)) { } } @if (Picker.IsIn(DatePickerType.Year)) { int startYear = PickerValue.Year / 10 * 10; } @if (Picker.IsIn(DatePickerType.Decade)) { int startYear = PickerValue.Year / 100 * 100; }
@if (ShowNextChange) { } @if (ShowSuperNextChange) { }
@code { [Parameter] public int SuperChangeDateInterval { get; set; } = 1; [Parameter] public int ChangeDateInterval { get; set; } = 1; [Parameter] public bool ShowSuperPreChange { get; set; } = true; [Parameter] public bool ShowPreChange { get; set; } = true; [Parameter] public bool ShowNextChange { get; set; } = true; [Parameter] public bool ShowSuperNextChange { get; set; } = true; }