MahApps.Metro
MahApps.Metro copied to clipboard
when I update Mahapps.Metro to version alpha with NuGet,I cannot change flyout's background...
Before can change...
@wojiaofsp Sorry about that. We recently introduced a feature that changes how a flyout deals with it's background depending on its parent MetroWindow theme. Perhaps this has something to do with this.
See this thread for details: #941
cc @flagbug
That was actually never supported. We may add custom color support in the future
@wojiaofsp a flyout can have different themes too (>= 0.14)
public enum FlyoutTheme
{
/// <summary>
/// Adapts the Flyout's theme to the theme of its host window.
/// </summary>
Adapt,
/// <summary>
/// Adapts the Flyout's theme to the theme of its host window, but inverted.
/// This theme can only be applied if the host window's theme abides the "Dark" and "Light" affix convention.
/// (see <see cref="ThemeManager.GetInverseAppTheme"/> for more infos.
/// </summary>
Inverse,
/// <summary>
/// The dark theme. This is the default theme.
/// </summary>
Dark,
Light,
/// <summary>
/// The flyouts theme will match the host window's accent color.
/// </summary>
Accent
}
you can override the Background for a Flyout except if you use the Accent theme.