Ribbon for WinForms
時刻ピッカー
要素 > リボンアイテム > 時刻ピッカー

The Time Picker works like a numeric box with increment and decrement buttons. It enables the user to choose a specific time or enter a specific time in the numeric box.

The Time Picker can be added through the designer using the Floating Toolbar or Collection Editor. Refer this topic for detailed information. A TimePicker can also be added to the C1Ribbon control through the code using the RibbonTimePicker class. This is depicted in the code below:

' TimePickerを追加します
Dim timePicker As RibbonTimePicker = New RibbonTimePicker()
timePicker.Label = "Select Time:"
formatGroup.Items.Add(timePicker)
// TimePickerを追加します
RibbonTimePicker timePicker = new RibbonTimePicker();
timePicker.Label = "Select Time:";
formatGroup.Items.Add(timePicker);