C1TimeEditor Control Help > C1TimeEditor Task-Based Help > Setting the Value Increment |
By default, the time on a C1TimeEditor control is set to move in one minute increments. You can change this by setting the C1TimeEditor.Increment property to whatever time increment you specify. In this topic, you will set the time increment on the C1TimeEditor control to one hour and thirty minutes. For more information about time increments, visit the Value Increment topic.
In the Designer
Complete the following steps:
In XAML
Complete the following steps:
<my:C1TimeEditor Increment="01:30:00"/>
In Code
Complete the following steps:
Visual Basic |
Copy Code
|
---|---|
C1TimeEditor1.Increment = New TimeSpan(01, 30, 00)
|
C# |
Copy Code
|
---|---|
c1TimeEditor1.Increment = new TimeSpan(01,30,00);
|