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 | Type | Default |
|---|---|---|---|
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. |
RenderFragment | null |
Disabled |
Flag to indicate that the button is not responsive for user interaction. |
bool | false |
Events
| Event | Description | Type |
|---|---|---|
Clicked |
Notifies when the button is clicked. |
EventCallback<MouseEventArgs> |