ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) Method

定義

指定 ToolStrip 的視覺化排列方式。Specifies the visual arrangement for the 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 ToolStripLayoutStyle ToolStripLayoutStyle ToolStripLayoutStyle

要套用至 ToolStrip 的視覺化排列方式。The visual arrangement to be applied to the ToolStrip.

傳回

其中一個 ToolStripLayoutStyle 值。One of the ToolStripLayoutStyle values. 預設為 nullThe default is null.

適用於