ant-design-blazor/components/date-picker/IDatePicker.cs
Alex Kryvdyk c00dd6f23d
fix(module: datepicker): value not updated when changed programmatically (#2551)
* fix(module: datepicker): value not updated when changed programmatically

* fix(module: rangepicker): value not updated when set programmatically

* fix:(module: datepicker): placeholder attribute not applied to input

* fix:(module: rangepicker): end date placeholder is not cleared
2022-07-10 10:46:51 +08:00

20 lines
585 B
C#

using System;
namespace AntDesign
{
public interface IDatePicker
{
public DateTime CurrentDate { get; set; }
internal DateTime? HoverDateTime { get; set; }
internal event EventHandler<bool> OverlayVisibleChanged;
int GetOnFocusPickerIndex();
void ChangePlaceholder(string placeholder, int index = 0);
void ResetPlaceholder(int index = -1);
string GetFormatValue(DateTime value, int index);
void ChangePickerType(string type);
void ChangePickerType(string type, int index);
void Close();
}
}