Form.MergedMenu 屬性

定義

取得表單的合併功能表。

[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.MainMenu MergedMenu { get; }

屬性值

MainMenu,代表表單的合併功能表。

屬性

備註

當表單是多文檔介面, (MDI) 子表單,合併其功能表與其父表單的功能表時,主要會使用這個屬性。 您可以使用這個屬性來取得 MDI 應用程式中目前的功能表結構,以變更或新增功能表結構。 若要取得指派給表單的非合併 MainMenu ,請使用 Menu 屬性。

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0

另請參閱