ant-design-blazor/components/date-picker/IDatePicker.cs
笨木头 e42aa8aeb7 feat(module: range-picker): support form (#496)
* feat(module: range-picker): support form

* fix(module: range-picker): has no default value in from

* fix: picker's close behaviour and range arrow's style is wrong

* feat(module: datepicker): change placeholder on mouse over

* style(module: datepicker): adjust range arrow

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-14 12:43:48 +08:00

25 lines
624 B
C#

using System;
using System.Globalization;
using AntDesign.Internal;
namespace AntDesign
{
public interface IDatePicker
{
public DateTime CurrentDate { get; set; }
public CultureInfo CultureInfo { get; set; }
internal DateTime? HoverDateTime { get; set; }
int GetOnFocusPickerIndex();
void ChangePlaceholder(string placeholder, int index = 0);
string GetFormatValue(DateTime value, int index);
void ChangePickerType(string type);
void ChangePickerType(string type, int index);
void InvokeStateHasChanged();
void Close();
}
}