Ribbon for WinForms
チェックボックス
要素 > リボンアイテム > チェックボックス

CheckBoxes are helpful when there are multiple options appearing in a list. It can be used to turn an option on or off.

The following ribbon group contains three CheckBox items.

The CheckBox can be added at design-time using the Floating Toolbar or Collection Editor. Refer this topic for detailed information.

The CheckBox can also be added to the C1Ribbon control programmatically. This can be done using the RibbonCheckBox class.

' リボン項目のCheckBoxボタンを追加します
Dim reminderCheckBox As RibbonCheckBox = New RibbonCheckBox()
reminderCheckBox.IconSet.Add(New C1BitmapIcon(Nothing, New Size(20, 20), Color.Transparent, Image.FromFile("images\reminder.png")))
reminderCheckBox.Text = "Reminder"
formatGroup.Items.Add(reminderCheckBox)
// リボン項目のCheckBoxボタンを追加します
RibbonCheckBox reminderCheckBox1 = new RibbonCheckBox();
reminderCheckBox1.IconSet.Add(new C1BitmapIcon(null, new Size(20, 20), Color.Transparent, Image.FromFile(@"images\reminder.png")));
reminderCheckBox1.Text ="Thumbnails";
formatGroup.Items.Add(reminderCheckBox1);
            
RibbonCheckBox reminderCheckBox2 = new RibbonCheckBox();
reminderCheckBox2.IconSet.Add(new C1BitmapIcon(null, new Size(20, 20), Color.Transparent, Image.FromFile(@"images\reminder.png")));
reminderCheckBox2.Text = "Document map";
formatGroup.Items.Add(reminderCheckBox2);