2020-06-03 10:24:16 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace AntDesign
|
|
|
|
|
{
|
|
|
|
|
public interface IDatePicker
|
|
|
|
|
{
|
|
|
|
|
public DateTime CurrentDate { get; set; }
|
|
|
|
|
|
2020-07-05 00:06:34 +08:00
|
|
|
|
internal DateTime? HoverDateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
int GetOnFocusPickerIndex();
|
|
|
|
|
|
2020-08-14 12:43:48 +08:00
|
|
|
|
void ChangePlaceholder(string placeholder, int index = 0);
|
|
|
|
|
string GetFormatValue(DateTime value, int index);
|
|
|
|
|
|
2020-06-03 10:24:16 +08:00
|
|
|
|
void ChangePickerType(string type);
|
|
|
|
|
void ChangePickerType(string type, int index);
|
2020-07-05 00:06:34 +08:00
|
|
|
|
void InvokeStateHasChanged();
|
2020-06-03 10:24:16 +08:00
|
|
|
|
void Close();
|
|
|
|
|
}
|
|
|
|
|
}
|