PrintPreviewDialog.Menu Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the MainMenu that is displayed in the form.
public:
property System::Windows::Forms::MainMenu ^ Menu { System::Windows::Forms::MainMenu ^ get(); void set(System::Windows::Forms::MainMenu ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.MainMenu Menu { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Menu : System.Windows.Forms.MainMenu with get, set
Public Property Menu As MainMenu
Property Value
A MainMenu that represents the menu to display in the form.
- Attributes
Remarks
This property is not relevant for this class.
You can use this property to switch between complete menu sets at run time. For example, you can define one MainMenu to be displayed when your multiple document interface (MDI) form has no active MDI child forms and another MainMenu to display when a child window is displayed. You can also use a different MainMenu when specific conditions that require displaying a different menu set exist in your application.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기