Creating default Dark/Light with other themes more flexible
Extending Appearance Manager interface for more flexible usage and bug fixing simple demo issues like theme selection was executed twice through theme selection changed command etc.
public interface IAppearanceManager
{
...
/// <summary>
/// Resets the standard themes available through the theme settings interface.
/// Method Adds Dark and Light theme infos from MLib - calling applications can
/// use the AddThemeResources() method to add more resources.
/// </summary>
/// <param name="themes">Collection of themeinfos in which Dark and Light themes
/// with MLib resources should be added.</param>
/// <param name="removeAllThemeInfos">Determines whether existing collection
/// of themeinfos is removed before addinng Dark and Light themes.</param>
void SetDefaultThemes(IThemeInfos themes, bool removeAllThemeInfos = true);
...
}