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

Edited Issue: DateTimePicker.IsEnabled = false will not grey out text for Win7 [21294]

$
0
0
__DateTimePicker.IsEnabled = false__
![Image](http://i.imgur.com/Nsmefon.png)

Button and TextBox disable properly. Text stays black.

_Tested on Win7._
Comments: ** Comment from web user: BoucherS **

This issue will be fixed in v2.5.
v2.5 will also fix this issue for all controls.

For DateTimePicker, simply add a Trigger near the end of this page :
Xceed.Wpf.Toolkit/DateTimePicker/Themes/Generic.xaml

```
<Trigger Property="IsEnabled"
Value="False">
<Setter Property="Foreground"
Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
</Trigger>
```


Viewing all articles
Browse latest Browse all 4964

Trending Articles



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