ToolStripDropDownMenu.LayoutStyle ToolStripDropDownMenu.LayoutStyle ToolStripDropDownMenu.LayoutStyle ToolStripDropDownMenu.LayoutStyle Property

Definition

Ruft einen Wert ab, der angibt, wie die Elemente des ContextMenuStrip angezeigt werden, oder legt diesen fest.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

Eigenschaftswert

Einer der ToolStripLayoutStyle-Werte.One of the ToolStripLayoutStyle values. Die Standardeinstellung ist Flow.The default is Flow.

Hinweise

Standardmäßig ContextMenuStrip fließen Elemente bei Bedarf horizontal oder vertikal.By default, ContextMenuStrip items flow horizontally or vertically as necessary. Weitere Möglichkeiten ToolStripLayoutStyle finden Sie in der-Enumeration.See the ToolStripLayoutStyle enumeration for the other possibilities.

Gilt für: