Share via


RibbonSplitButton Class (2007 System)

A Ribbon control that combines a button or a toggle button and a drop-down menu. This class cannot be inherited.

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

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(RibbonSplitButton), "RibbonSplitButton.bmp")> _
Public NotInheritable Class RibbonSplitButton _
    Inherits RibbonControl
'Usage
Dim instance As RibbonSplitButton
[ToolboxBitmapAttribute(typeof(RibbonSplitButton), "RibbonSplitButton.bmp")]
public sealed class RibbonSplitButton : RibbonControl
[ToolboxBitmapAttribute(typeof(RibbonSplitButton), L"RibbonSplitButton.bmp")]
public ref class RibbonSplitButton sealed : public RibbonControl
public final class RibbonSplitButton extends RibbonControl

Remarks

A RibbonSplitButton control combines a button or a toggle button and a drop-down menu. To choose between the button and toggle button, use the ButtonType property.

Unlike the RibbonMenu control, the RibbonSplitButton control does not have the Dynamic property, so contents of the Items collection cannot be changed at run time.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Office.Tools.Ribbon.RibbonComponent
        Microsoft.Office.Tools.Ribbon.RibbonControl
          Microsoft.Office.Tools.Ribbon.RibbonSplitButton

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

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Overview

Ribbon Designer

Ribbon Object Model Overview

How to: Get Started Customizing the Ribbon