System.Windows.Forms.ToolStripDropDownMenu.LayoutStyle Property

Gets or sets a value indicating how the items of System.Windows.Forms.ContextMenuStrip are displayed.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.ToolStripLayoutStyle.Flow)]
public ToolStripLayoutStyle LayoutStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, System.Windows.Forms.ContextMenuStrip items flow horizontally or vertically as necessary. See the System.Windows.Forms.ToolStripLayoutStyle enumeration for the other possibilities.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0