DatePicker missing
Closed this issue · 2 comments
charlenni commented
Foremost, thank you very much. Your efforts saved me much time.
It seems, that the DatePicker is not respected in the ColourfulDarkTheme. Is there a chance to find a theme example for this anywhere?
Thanks for any help.
shivan commented
I used this for the DatePicker:
<Style TargetType="{x:Type DatePicker}">
<Style.Resources>
<Style TargetType="DatePickerTextBox">
<Setter Property="Background" Value="{DynamicResource AREghZyBrush.Primary.1.Background.Static}"/>
</Style>
</Style.Resources>
<Setter Property="Background" Value="{DynamicResource AREghZyBrush.Primary.1.Background.Static}" />
<Setter Property="Foreground" Value="{DynamicResource AREghZyBrush.Foreground.Static}" />
<Setter Property="BorderBrush" Value="{DynamicResource AREghZyBrush.Deep.1.Border.Static}"/>
<Setter Property="CalendarStyle">
<Setter.Value>
<Style TargetType="{x:Type Calendar}" BasedOn="{StaticResource {x:Type Calendar}}"/>
</Setter.Value>
</Setter>
</Style>
But not yet perfect.
AngryCarrot789 commented
I styled it for the new update, including the calendar :D