wpf - Setting combo box foreground color for the disabled state -


i want change color of combo box diasbled state more darker one. please let me know how achieve using triggers or other way. !!

change color in simple property trigger:

<style targettype="combobox">     <style.triggers>         <trigger property="isenabled" value="false">             <setter property="background" value="green"/>         </trigger>     </style.triggers> </style> 

Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -