Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Templase and background #192

Open
Trololo312 opened this issue Mar 25, 2019 · 1 comment
Open

Templase and background #192

Trololo312 opened this issue Mar 25, 2019 · 1 comment

Comments

@Trololo312
Copy link

Hi. I do not understand how I should change the pattern. Unfortunately, I took this template, it seemed good and clear. However, there is no documentation for him and this is bad.

1)I connected this topic for controls: http://professorweb.ru/my/WPF/themes/DarkBlue_UI/theme_db.php
2) However, the topic has not changed. She remained bright.
3) I open this code page: https://github.com/firstfloorsoftware/mui/blob/master/1.0/FirstFloor.ModernUI/FirstFloor.ModernUI.App/Content/SettingsAppearanceViewModel.cs
// add the default themes
this.themes.Add(new Link { DisplayName = "dark", Source = AppearanceManager.DarkThemeSource });
...
// add additional themes
this.themes.Add(new Link { DisplayName = "bing image", Source = new Uri("/ModernUIDemo;component/Assets/ModernUI.BingImage.xaml", UriKind.Relative) });

HOW TO MAKE YOUR STYLE ?!
Or how to make a background of a different color?

@Trololo312
Copy link
Author

Everything turned out to be simple. You need to create an element of Modern UI Theme and add code like this:

this.themes.Add(new Link { DisplayName = "Mylove", Source = new Uri("MyThemsfolder/MyModernUIThems.xaml", UriKind.Relative) });

And that's it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant