Uredi

Deli z drugimi prek


ToolStripDropDownMenu.LayoutStyle Property

Definition

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

public:
 property System::Windows::Forms::ToolStripLayoutStyle LayoutStyle { System::Windows::Forms::ToolStripLayoutStyle get(); void set(System::Windows::Forms::ToolStripLayoutStyle value); };
public System.Windows.Forms.ToolStripLayoutStyle LayoutStyle { get; set; }
member this.LayoutStyle : System.Windows.Forms.ToolStripLayoutStyle with get, set
Public Property LayoutStyle As ToolStripLayoutStyle

Property Value

One of the ToolStripLayoutStyle values. The default is Flow.

Remarks

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

Applies to