Ribbon for WinForms
トラックバー
要素 > リボンアイテム > トラックバー

The Track Bar is a horizontal slider that enables the user to select values on a bar by moving the slider. The tick marks are spaced at regular intervals called the tick frequency. The user can set the Maximum and Minimum values on the TrackBar.

The GIF below shows the Ribbon TrackBar in a ribbon application.

The Track Bar can be added via the designer using Floating Toolbar or Collection Editor. Refer this topic for detailed information. The TrackBar can also be added programmatically to the Ribbon control using the RibbonTrackBar class. This is depicted in the code below:

' TrackBarを追加します
Dim trackBar As RibbonTrackBar = New RibbonTrackBar()
trackBar.Minimum = 10
trackBar.Maximum = 100
trackBar.Value = 30
trackBar.TickFrequency = 10
formatGroup.Items.Add(trackBar)
// TrackBarを追加します
RibbonTrackBar trackBar = new RibbonTrackBar();
trackBar.Minimum = 10;
trackBar.Maximum = 100;
trackBar.Value = 30;
trackBar.TickFrequency = 10;
trackBar.Width = 200;
formatGroup.Items.Add(trackBar);