DynamicAero2
DynamicAero2 copied to clipboard
Is there a way to theme spinners (e.g. numeric steppers, etc.)
Many thanks for this. One question that I had is :
Numeric steppers seem to still get the ugly gray button look; I wondered whether I might be overlooking something.
Styleが適用されているコントロールにはテーマが適用されません。 Styleとテーマの両方を利用したい場合、スタイルにBasedOnを指定する必要があります
The theme will not be applied to controls that have Style applied to them.
If you want to use both Style and Theme, you need to set BasedOn="{StaticResource {x:type Button}}"
to Style.
<Button>
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource {x:Type Button}"}>
<!-- setters and getters-->
</Style>
</Button.Style>
</Button
Thanks for responding. I'm still a little lost; would it be possible to have an example of this in your project, as a reference?
EDIT: I see the button was added as an example.