Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: DateTimeUpDown : spinner background color is gray on Windows 8 [21729]

$
0
0
Hi,

I'm using the NuGet package Extended WPF Toolkit (2.3)

Here is my DateTimeUpDown under Windows 7 :

![Image](http://i.imgur.com/9y1CiNa.png)

And the same under Windows 8 :

![Image](http://i.imgur.com/a4lUgnH.png)

My first attempt was to include the PresentationFramework.Aero.dll as an embedded resource and add it to the ResourceDictionary in my App.xaml

```
<ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml"/>
```

but the spinner still have this gray background.

Any idea ?

Thanks !
Comments: ** Comment from web user: BoucherS **

Hi,

To change the Background color of the ButtonSpinners, try this :
```
<xctk:DateTimeUpDown Value="2015/2/20">
<xctk:DateTimeUpDown.Resources>
<Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type themes:ResourceKeys}, ResourceId=SpinnerButtonStyleKey}"
TargetType="RepeatButton">
<Setter Property="Background"
Value="Red" />
</Style>
</xctk:DateTimeUpDown.Resources>
</xctk:DateTimeUpDown>
```
where "themes" points to :
xmlns:themes="clr-namespace:Xceed.Wpf.Toolkit.Themes;assembly=Xceed.Wpf.Toolkit"


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>