Partilhar via


CommandBarPopup.CommandBar Property

Definition

Gets the command bar owned by this control.

public:
 property Microsoft::VisualStudio::CommandBars::CommandBar ^ CommandBar { Microsoft::VisualStudio::CommandBars::CommandBar ^ get(); };
public:
 property Microsoft::VisualStudio::CommandBars::CommandBar ^ CommandBar { Microsoft::VisualStudio::CommandBars::CommandBar ^ get(); };
[System.Runtime.InteropServices.DispId(1610940416)]
public Microsoft.VisualStudio.CommandBars.CommandBar CommandBar { [System.Runtime.InteropServices.DispId(1610940416)] get; }
[<System.Runtime.InteropServices.DispId(1610940416)>]
[<get: System.Runtime.InteropServices.DispId(1610940416)>]
member this.CommandBar : Microsoft.VisualStudio.CommandBars.CommandBar
Public ReadOnly Property CommandBar As CommandBar

Property Value

The command bar owned by this control. If there is no existing command bar, this property creates one.

Attributes

Applies to