TimePicker.MinuteIncrement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates the time increments shown in the minute picker. For example, 15 specifies that the TimePicker minute control displays only the choices 00, 15, 30, 45.
public:
property int MinuteIncrement { int get(); void set(int value); };
int MinuteIncrement();
void MinuteIncrement(int value);
public int MinuteIncrement { get; set; }
var int32 = timePicker.minuteIncrement;
timePicker.minuteIncrement = int32;
Public Property MinuteIncrement As Integer
<TimePicker MinuteIncrement="int"/>
Property Value
int
An integer from 0-59 that indicates the increments shown in the minute picker. The default is 1.
Examples
This example shows a time picker using 15-minute increments.
<TimePicker MinuteIncrement="15"/>
Remarks
You can set the MinuteIncrement
property to indicate the time increments shown in the minute picker. For example, 15 specifies that the TimePicker
minute control displays only the choices 00, 15, 30, 45.