Form.MainMenuStrip プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Dim instance As Form Dim value As MenuStrip value = instance.MainMenuStrip instance.MainMenuStrip = value
/** @property */ public MenuStrip get_MainMenuStrip () /** @property */ public void set_MainMenuStrip (MenuStrip value)
public function get MainMenuStrip () : MenuStrip public function set MainMenuStrip (value : MenuStrip)
フォームのメニュー構造のコンテナを表す MenuStrip。既定値は null 参照 (Visual Basic では Nothing) です。
解説MainMenuStrip プロパティを設定する他に、Add メソッドで MenuStrip コントロールをフォームの Controls コレクションに追加する必要があります。
MenuStrip クラスは、以前のバージョンの .NET Framework における MainMenu クラスの代わりに使用されます。
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からForm.MainMenuStrip プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からForm.MainMenuStrip プロパティ
を検索
- Form.MainMenuStrip プロパティのページへのリンク