Blazorise Close Button API

Explore the Blazorise Close Button API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Close Button documentation.

API

Parameters

Parameter Description TypeDefault
AutoClose

If true, the parent Alert, Modal, Toast, or Offcanvas will be automatically closed when CloseButton button is placed inside of them.

bool?null
ChildContent

Specifies the content to be rendered inside this CloseButton.

RenderFragmentnull
Disabled

Flag to indicate that the button is not responsive for user interaction.

boolfalse

Events

Event Description Type
Clicked

Notifies when the button is clicked.

EventCallback<MouseEventArgs>
On this page