'Hide the close button on the context-sensitive menu? (XAF)

I want to remove the close button from the context-sensitive menu that appears when I right click a record in list view.

I found instructions how to do it for web forms but I am using Winforms.

I don't want to deactivate the controller because I still need the close button on the main toolbar.

I am wondering whether to move the barContainerClose from the barContainerView

In the template

XAF Ribbon Control Designer



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source