Jaa


TimePicker.MinuteIncrement Property

Definition

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

Int32

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"/>

A time picker showing 15 minute increments.

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.

Applies to