ant-design-blazor/components/date-picker/IDatePicker.cs

25 lines
624 B
C#
Raw Normal View History

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();
}
}