When I click on a button, a modal window appears, like this enter image description here

How to remove the bottom two buttons (yellow), using the Catel framework. Created a window using the UIVisualizerService service.

Model example:

public Command ShowCommand { get { return new Command(() => { var viewModel = new CalcViewModel(); var dependencyResolve = this.GetDependencyResolver(); var uiVisualizerService = dependencyResolve.Resolve<UIVisualizerService>(); uiVisualizerService.ShowDialog(viewModel); }); } } 

The modal window model is empty.

  • As an option in the properties of unnecessary buttons to register Hidden - Bulson
  • There are no these buttons in the xaml code, as I understand they are generated when compiling, even if the presentation is empty, without a code, these buttons are still displayed - Ivan Prodaiko
  • 3
    Well, this is a question for connoisseurs of Catel, WPF does not add buttons by itself. - VladD
  • In a good way, you need to change the title of the WPF question to Catel, because @VladD has already noticed to you that these buttons are not created by WPF, but by your framework. Is there any documentation on Catel, what do they write about it? - Bulson

0