expressappframework-devexpress-dot-expressapp-dot-office-dot-win-dot-imodelwinofficemenumanagersettings.md
Specifies the type of menu displayed in office controls.
Namespace : DevExpress.ExpressApp.Office.Win
Assembly : DevExpress.ExpressApp.Office.Win.v25.2.dll
NuGet Package : DevExpress.ExpressApp.Office.Win
[ModelBrowsable(typeof(OfficeModelMenuManagerVisibilityCalculator))]
DefaultMenuManagerType MenuManagerType { get; set; }
<ModelBrowsable(GetType(OfficeModelMenuManagerVisibilityCalculator))>
Property MenuManagerType As DefaultMenuManagerType
| Type | Description |
|---|---|
| DefaultMenuManagerType |
The menu type.
|
Available values:
| Name | Description |
|---|---|
| Default |
The menu type depends on the FormStyle value:
FormStyle = Standard, the editor displays a separate toolbar near the editor.FormStyle = Ribbon, the editor menu items are displayed in the main form’s ribbon.| | Bars |
The editor displays a separate toolbar near the editor.
| | None |
The editor does not display a menu.
|
The MenuManagerType property specifies the Menu Manager type for office controls: Rich Text Editor, Spreadsheet, or PDF Viewer.
To specify the menu type, open the Model.xafml file in the MySolution.Win project. In the Model Editor, navigate to the Views | {MySolution}.Module.BusinessObjects | {ClassName} | {ClassName}_Detail View | Items | {ItemName} node and specify the MenuManagerType property value.
See Also
Use Rich Text Documents in Business Objects
IModelWinOfficeMenuManagerSettings Interface