共用方式為


ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) 方法

定義

指定 ToolStrip 的視覺化排列方式。

protected:
 virtual System::Windows::Forms::LayoutSettings ^ CreateLayoutSettings(System::Windows::Forms::ToolStripLayoutStyle layoutStyle);
protected virtual System.Windows.Forms.LayoutSettings CreateLayoutSettings (System.Windows.Forms.ToolStripLayoutStyle layoutStyle);
abstract member CreateLayoutSettings : System.Windows.Forms.ToolStripLayoutStyle -> System.Windows.Forms.LayoutSettings
override this.CreateLayoutSettings : System.Windows.Forms.ToolStripLayoutStyle -> System.Windows.Forms.LayoutSettings
Protected Overridable Function CreateLayoutSettings (layoutStyle As ToolStripLayoutStyle) As LayoutSettings

參數

layoutStyle
ToolStripLayoutStyle

要套用至 ToolStrip 的視覺化排列方式。

傳回

LayoutSettings

其中一個 ToolStripLayoutStyle 值。 預設為 null

適用於