开发者

wp7 change background color of control on control disable

i want to change the backgroundcolor of a datepicker when it is disable.

i tried to change the background but

it is n开发者_StackOverflow社区ot changing when it is disabled

how to change it?


If you use Expression Blend to edit the Control template of the DatePicker, then find the Button inside the template and edit it's template. With the template selected open the 'states' panel, select the disabled state and edit the ButtonBackground's background brush property to your desired colour.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜