Share via


CommandBarPopup Interface 

Represents a pop-up control on a command bar.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Public Class ommandBarPopupImplementation
    Implements CommandBarPopup
End Class
Dim ommandBarPopupImplementation1 As New ommandBarPopupImplementation()

Syntax

Public Interface CommandBarPopup
    Inherits CommandBarControl
public interface CommandBarPopup : CommandBarControl
public interface class CommandBarPopup : public CommandBarControl
public interface CommandBarPopup implements CommandBarControl
public interface CommandBarPopup implements CommandBarControl

Remarks

Use Controls(index), where index is the number of the control, to return a CommandBarPopup object. The Type property of the control must be msoControlPopup, msoControlGraphicPopup, msoControlButtonPopup, msoControlSplitButtonPopup, or msoControlSplitButtonMRUPopup.

You can also use the FindControl method to return a CommandBarPopup object.

Every pop-up control contains a CommandBar object. To return the command bar from a pop-up control, apply the CommandBar property to the CommandBarPopup object.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

CommandBarPopup Members