简介
辅助用户输入年月,效果如下:
按钮功能列表:
图例 | 说明 | 辅助说明 |
---|---|---|
年份向前滚动10年,右图为单击后效果 | ||
年份向后滚动10年,右图为单击后效果 | ||
确定按钮 | 将当前选择的年和月作为YearMonthDropDown的selectedValue | |
取消按钮 | 取消当前选择,并关闭YearMonthDropDown |
大多数情况下我们并不需要在View中添加这个控件,在希望显示该下拉框的控件的Trigger属性中,就能看到一个id为"defaultYearMonthDropDown"的选项:
这是所有View默认会自动创建的控件,并且有默认的id。
如果你想自定义,则可以在页面上单独添加YearMonthDropDown.
详细属性说明
YearMonthDropDown与ListDropDown有类似的特性,如:autoOpen, assignmentMap, buttonVisible,因此其基本属性和使用方式请参考:ListDropDown(DCUG)
Attachments:
YearMonthDropDown.png (image/png)
YearMonthDropDownPre1.png (image/png)
YearMonthDropDownNext1.png (image/png)
YearMonthDropDownPre2.png (image/png)
YearMonthDropDownNext2.png (image/png)
FormElementTrigger.png (image/png)
YearMonthDropDownPre1.png (image/png)
YearMonthDropDownNext1.png (image/png)
YearMonthDropDownPre2.png (image/png)
YearMonthDropDownNext2.png (image/png)
FormElementTrigger.png (image/png)