Ribbon for WinForms
プログレスバー
要素 > リボンアイテム > プログレスバー

A Progress Bar is a C1Ribbon Item used to visualize the progression of an extended task occurring within an application. The user can assign Minimum, Maximum and Value properties to the ProgressBar range.

The image below depicts a Progress Bar with a Minimum and Maximum of 0 and 100 respectively. The current Value is shown as 50 here, indicating that the task is partly completed.

The ProgresBar can be added at design-time using the Floating Toolbar or Collection Editor. Refer this topic for detailed information. A ProgressBar can also be added to the C1Ribbon control through the code using the RibbonProgressBar class. This is depicted in the code below:

' リボン項目のProgressBarを追加します
Dim progressBar As RibbonProgressBar = New RibbonProgressBar()
progressBar.Minimum = 0
progressBar.Maximum = 100
progressBar.Value = 50
formatGroup.Items.Add(progressBar)
// リボン項目のプログレスバーを追加します
RibbonProgressBar progressBar = new RibbonProgressBar();
progressBar.Minimum = 0;
progressBar.Maximum = 100;
progressBar.Value = 50;
progressBar.ToolTip = "50%";
formatGroup.Items.Add(progressBar);