共用方式為


ToolWindowPane.ToolBar Property

Definition

If the toolwindow has a ToolBar, it is described by this parameter. Otherwise this is null

public:
 property System::ComponentModel::Design::CommandID ^ ToolBar { System::ComponentModel::Design::CommandID ^ get(); void set(System::ComponentModel::Design::CommandID ^ value); };
public System.ComponentModel.Design.CommandID ToolBar { get; set; }
member this.ToolBar : System.ComponentModel.Design.CommandID with get, set
Public Property ToolBar As CommandID

Property Value

CommandID if the tool window has a toolbar; otherwise, null.

Remarks

The value can be set only if Frame is null.

Applies to