2024年4月21日发(作者:)

WPF————3.给DatePicker日历控件添加背景色

Question :When we add background for DatePicker, we may find some problem? e

g: background is not fill full, some place has no effec

Pic(1)

Below is our like.

Pic(2)

Let we compare our style

Pic(1)

Note: We set Background="#858ca0",but in the middle, the Background is also Wh

ite? Did you want to know why?

Pic(2)