Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi!!

I have a WPF Application and I need a Button with a LED light included in the button.
Further, I have a boolean variable (ledControl) and I want the LED light in the button turn-off if ledControl varible is false and LED light turn-on if ledControl is true.

How can I do this?

Thanks.
Posted
Comments
ZurdoDev 12-Sep-13 7:29am    
I don't believe there is an "LED" control so you need to design one using the controls and code you do have.

1 solution

You didn't try Google[^], did you?
 
Share this answer
 
Comments
Maciej Los 12-Sep-13 8:01am    
+5!
CPallini 12-Sep-13 8:13am    
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900