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. 参照してください、ToolStripLayoutStyle他の可能性を列挙します。See the ToolStripLayoutStyle enumeration for the other possibilities.

適用対象