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);
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
。