Create a Block Button in Blazor Button Component

9 Feb 20221 minute to read

You can customize a Button into a Block Button that will span the entire width of its parent element. To create a Block Button, set the CssClass property to e-block.

@using Syncfusion.Blazor.Buttons

<SfButton CssClass="e-block">BLOCKBUTTON</SfButton>
<SfButton CssClass="e-block" IsPrimary="true">BLOCKBUTTON</SfButton>
<SfButton CssClass="e-block e-success">BLOCKBUTTON</SfButton>

Blazor Block Button