【发布时间】:2019-02-07 14:02:22
【问题描述】:
我正在尝试在 RadTimePicker 上设置从 1 到 5 的分钟增量。 Telerik 文档在这里:
https://docs.telerik.com/devtools/universal-windows-platform/controls/raddatepicker-and-radtimepicker/properties-and-configuration/raddatetimepickers-properties-pickerproperties
这么说
Step (DateTimeOffset): Gets or sets the step that will be applied to the picker date/time lists. Each list will take the correspomding component fron the DateTimeOffset structure.
没有示例代码,我不知道这意味着什么或如何做,但我已经尝试过:
InitializeComponent();
var t = new DateTimeOffset();
t.AddMinutes(5);
timePickerz.Step = t;
在代码后面但是不行。
【问题讨论】: