ToolStripDropDownMenu.LayoutStyle Eigenschaft

Definition

Ruft einen Wert ab, der angibt, wie die Elemente des ContextMenuStrip angezeigt werden, oder legt diesen fest.

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. Der Standardwert ist Flow.

Hinweise

Standardmäßig ContextMenuStrip werden Elemente nach Bedarf horizontal oder vertikal ablaufen. Weitere Möglichkeiten finden Sie in der ToolStripLayoutStyle Enumeration.

Gilt für: