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

定義

ContextMenuStrip の項目の表示方法を示す値を取得または設定します。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

プロパティ値

ToolStripLayoutStyle 値のいずれか 1 つ。One of the ToolStripLayoutStyle values. 既定値は、Flow です。The default is Flow.

注釈

既定ではContextMenuStrip 、項目は必要に応じて水平方向または垂直方向にフローします。By default, ContextMenuStrip items flow horizontally or vertically as necessary. その他の可能性については、列挙体を参照してください。ToolStripLayoutStyleSee the ToolStripLayoutStyle enumeration for the other possibilities.

適用対象