[]
By default, the C1TimeEditor.Interval property is set to 33 milliseconds, which allows users to scroll through the time values at faster rates. In this topic, you will specify a longer interval between value changes by setting the Interval property to 1000 milliseconds. For more information on spin intervals, visit the Spin Interval topic.
In the Designer
Complete the following steps:
. Observe that the value only increases once a second.In XAML
Complete the following steps:
Add Interval="1000" to the <my:C1TimeEditor> tag so that the markup resembles the following:
<my:C1TimeEditor Interval="1000"/>
Run the project and then click and hold the increase time button
. Observe that the value only increases once a second.
In Code
Complete the following steps:
Open the Window1.xaml.cs page.
Place the following code beneath the InitializeComponent() method:
C1TimeEditor1.Interval = 1000
c1TimeEditor1.Interval = 1000;
Run the project and then click and hold the increase time button
. Observe that the value only increases once a second.