CommandBarPopup Interface

Represents a pop-up control on a command bar.

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

Syntax

'Declaration
<GuidAttribute("000C030A-0000-0000-C000-000000000046")> _
Public Interface CommandBarPopup _
    Inherits CommandBarControl
'Usage
Dim instance As CommandBarPopup
[GuidAttribute("000C030A-0000-0000-C000-000000000046")]
public interface CommandBarPopup : 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.

See Also

Reference

CommandBarPopup Members

Microsoft.Office.Core Namespace