ToolStrip.CreateLayoutSettings(ToolStripLayoutStyle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定 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 的視覺化排列方式。
傳回
其中一個 ToolStripLayoutStyle 值。 預設為 null
。