Delen via


RibbonCheckBox Constructor (2007 System)

Initializes a new instance of the RibbonCheckBox class.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New RibbonCheckBox()
public RibbonCheckBox()
public:
RibbonCheckBox()
public function RibbonCheckBox()

Remarks

Visual Studio Tools for Office creates an instance of this class for you when you drag a CheckBox control from the Office Ribbon Controls tab of the Toolbox onto the Ribbon Designer.

You can also 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.

.NET Framework Security

See Also

Reference

RibbonCheckBox Class

RibbonCheckBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview