Search results

Create a Block Button

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.EJ2.Blazor.Buttons

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

Output be like

Button Sample