i know HTML/CSS and want to learn WPF styling. how can i get started. i see that padding, for example, works differently in WPF app.
in css:
padding: 5px 10px;
in XAML?
Padding="5px"
i notice that i need to expand the width of the element eg. button myself to accomodate the padding? if so, how can i calculate the box model? the text has no line-height
right? so if i have a font-size
of 15px and padding of 5px, my height will be 25px?
and can i set different horizontal and vertical paddings?
how can i apply simple gradients. will it be very hard with just visual studio?
i appreciate links to tutorials or advice on getting started. if there is a HTML/CSS to WPF/XAML article or tutorial that will be even better!