Back to Devexpress

IModelWinOfficeMenuManagerSettings.MenuManagerType Property

expressappframework-devexpress-dot-expressapp-dot-office-dot-win-dot-imodelwinofficemenumanagersettings.md

latest2.9 KB
Original Source

IModelWinOfficeMenuManagerSettings.MenuManagerType Property

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

Declaration

csharp
[ModelBrowsable(typeof(OfficeModelMenuManagerVisibilityCalculator))]
DefaultMenuManagerType MenuManagerType { get; set; }
vb
<ModelBrowsable(GetType(OfficeModelMenuManagerVisibilityCalculator))>
Property MenuManagerType As DefaultMenuManagerType

Property Value

TypeDescription
DefaultMenuManagerType

The menu type.

|

Available values:

NameDescription
Default

The menu type depends on the FormStyle value:

  • When FormStyle = Standard, the editor displays a separate toolbar near the editor.
  • When 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.

|

Remarks

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

IModelWinOfficeMenuManagerSettings Members

DevExpress.ExpressApp.Office.Win Namespace