Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThe problem is that I just want to change the background of a button. The Aero chrome handles this properly using the Background Button attribute for the button's normal state. But, this handling is faulty, because the background changes right back on mouseover and when the button is pressed. There is no easy way, it would seem, to change the background of the button in those two states. This defeats the whole purpose of having a Background attribute in Button (and perhaps other visual alements).
      singulars
    2. COThe Background property is common to all controls, so it will be there anyway, but nothing guarantees that the template will take it into account. I can reproduce your problem with the Aero theme, and a similar problem with the Luna theme. It seems the ButtonChrome doesn't take the Background into account for certain states... Anyway, I don't think the standard button chrome is designed to have its colors customized. If you want to do that, just don't use the chrome... It's pretty easy to create your own button template without it anyway.
      singulars
    3. COFrom MSDN (Control.Background property): The Background property applies only to the resting state of a control. The default style of the control specifies its appearance when the state of the control changes. For example, if you set the Background property on a Button, the button has that value only when it is not pressed or disabled. If you want to create a control that has a more advanced customization of the background, you must define the control's style.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload