checkBox

In the object model this is RibbonCheckBox.
clickable control that toggles between on and off often used to switch UI elements on and off.
a box that is selected or cleared to turn an option on or off.
The checkbox control allows the user to check or uncheck an option.

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">

<ribbon startFromScratch="true">

<tabs>

<tab id="CustomTab" label="My Tab">

<group id="Group1" label="MyGroup">

<checkBox id="mycheckbox"

label="Prompt on Saving"

onAction="CheckBox_OnAction"/>

</group>

</tab>

</tabs>

</ribbon>

</customUI>


Attributes (properties)

description(Description) 
enabled(Enabled) "true" | "false" 
id(Id) 
idMso(OfficeImageId) 
idQ  
insertAfterMso  
insertAfterQ  
insertBeforeMso  
insertBeforeQ  
keytip(Keytip) 
label(Label) 
screentip(ScreenTip) 
showLabel(ShowLabel) "true" | "false" 
supertip(SuperTip) 
tag(Tag) 
visible(Visible) "true" | "false" 
 (GenerateMember) 
 (Checked) 
 (Position) 

C# Events (design-time)

The RibbonCheckBox has a Click event that takes a parameter of type RibbonControlEventArgs


Callbacks (run-time)

onActionCheckBox_OnAction -  
getDescriptionCheckBox_OnGetDescription -  
getEnabledCheckBox_OnGetEnabled -  
getKeytipCheckBox_OnGetKeytip -  
getLabelCheckBox_OnGetLabel -  
getPressedCheckBox_OnGetPressed - determines if the checkbox is checked or not when the ribbon is loaded 
getScreentipCheckBox_OnGetScreentip -  
getShowImageCheckBox_OnGetShowImage -  
getShowLabelCheckBox_OnGetShowLabel -  
getSizeCheckBox_OnGetSize -  
getSupertipCheckBox_OnGetSupertip -  
getVisibleCheckBox_OnGetVisible -  











© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext