ToolStripDropDown.CreateLayoutSettings(ToolStripLayoutStyle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將各種配置選項套用到 ToolStripDropDown。
protected:
override System::Windows::Forms::LayoutSettings ^ CreateLayoutSettings(System::Windows::Forms::ToolStripLayoutStyle style);
protected override System.Windows.Forms.LayoutSettings CreateLayoutSettings (System.Windows.Forms.ToolStripLayoutStyle style);
protected override System.Windows.Forms.LayoutSettings? CreateLayoutSettings (System.Windows.Forms.ToolStripLayoutStyle style);
override this.CreateLayoutSettings : System.Windows.Forms.ToolStripLayoutStyle -> System.Windows.Forms.LayoutSettings
Protected Overrides Function CreateLayoutSettings (style As ToolStripLayoutStyle) As LayoutSettings
參數
- style
- ToolStripLayoutStyle
其中一個 ToolStripLayoutStyle 值。 可能值為 Flow、HorizontalStackWithOverflow、StackWithOverflow、Table 和 VerticalStackWithOverflow。
傳回
這個 LayoutSettings 的 ToolStripDropDown。