How To Create A Custom Accent In MahApps.Metro?
问题 I'm trying to override the default style of the flyout. I tried to move all my styles in an own ResourceDictionary and used <Style x:Key="DefaultFlyout" TargetType="controls:Flyout" BasedOn="{StaticResource {x:Type controls:Flyout}}"> , but it always ignores what I enter in BasedOn . Directly using {StaticResource Flyout} doesn't work because it's an unknown identifier, and DynamicResource isn't supported for BasedOn . My resource dictionary Controls.xaml : <ResourceDictionary xmlns="http:/