RibbonCheckBox Class (2007 System)
Represents a check box control on a Ribbon.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
<ToolboxBitmapAttribute(GetType(RibbonCheckBox), "RibbonCheckBox.bmp")> _
Public NotInheritable Class RibbonCheckBox _
Inherits RibbonControl
'Usage
Dim instance As RibbonCheckBox
[ToolboxBitmapAttribute(typeof(RibbonCheckBox), "RibbonCheckBox.bmp")]
public sealed class RibbonCheckBox : RibbonControl
[ToolboxBitmapAttribute(typeof(RibbonCheckBox), L"RibbonCheckBox.bmp")]
public ref class RibbonCheckBox sealed : public RibbonControl
public final class RibbonCheckBox extends RibbonControl
Remarks
You can create an instance of this control at run time and add it to a dynamic menu. A menu is dynamic if you set its Dynamic property to true.
Some properties of this control can be set only before the Ribbon is loaded into the Office application or before the control is added to a dynamic menu at run time. For information about setting these properties, see Ribbon Object Model Overview.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.Office.Tools.Ribbon.RibbonComponent
Microsoft.Office.Tools.Ribbon.RibbonControl
Microsoft.Office.Tools.Ribbon.RibbonCheckBox
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace