Can I Style C# With CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I Style C# With CSS?

can i?

21st Apr 2018, 5:54 PM
Sharika
Sharika - avatar
3 Answers
+ 3
What do you mean exactly? If you want to use CSS with ASP.NET or with WPF you can use it without problems. If you want to use CSS with a console application or Windows Form, then you can not. None of these options supports CSS. In that case you must format whatever you want with the tools offered by the language. http://blog.scottlogic.com/2009/03/11/using-css-selectors-for-styling-in-wpf.html https://www.wiseowl.co.uk/blog/s253/css-style-sheets.htm
21st Apr 2018, 6:24 PM
Mickel
Mickel - avatar
+ 1
How do you use CSS style with WPF ? sorry that is in your link, go a try that thanks.
21st Apr 2018, 9:42 PM
sneeze
sneeze - avatar
+ 1
Mikel Thanks
23rd Apr 2018, 8:36 AM
Sharika
Sharika - avatar