namespace AntDesign { public class YearPicker : DatePicker { public YearPicker() { Picker = DatePickerType.Year; } } }