wpfthemesbackmodern-ui

Remove back button in ModernUI plugin for wpf


I am trying to develop a modern wpf application using the MUI package. However I do not wish for the back button to be present and I tried to follow the steps mentioned in this link but it is not working.

I am getting errors as controls not defined in namespace, etc. Basically, I cannot get the code to compile. What am I doing wrong?


Solution

  • Because the TargetType property in the Style references controls from the ModernUI library, you need to add the XML namespace for the ModernUI controls in the ResourceDictionary containing the Style.

    I don't know what that namespace is, but need to add something like this:

    xmlns:mui="clr-namespace:FirstFloor.ModernUI.Windows.Controls;assembly=FirstFloor.ModernUI"