When Im using a component such as a TelerikButton, there is a property @attributes. Where can I see an example of how / what its used for? Can I place a style string in it ?
Nevermind, thats an example of "attribute splatting". However, the question still stands, is there a way to specify some style value, such as padding on a button within the component markup itself?
<TelerikButton OnClick="@OnSaveHandler">Save</TelerikButton><br/>
or one way I guess would be to wrap the button in a span and put the style there...
Regarding the styling of the Button. You could use the Class parameter of the component to add a CSS class and cascade some styles through it. Below, you can see a quick code snippet to illustrate that:
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.