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。