Modal


This documentation provides a comprehensive reference for the Modal component, guiding you through its configuration options.

Demos

Parameters #

Name Type Default Required Description Added Version
BodyContent RenderFragment null Gets or sets the modal body content. 1.0.0
BodyCssClass string null
ChildContent RenderFragment null Gets or sets the child content. 1.0.0
Class string null Gets or sets the CSS class. 1.0.0
CloseButtonCssClass string null
FootContent RenderFragment null Gets or sets the modal foot content. 1.0.0
FootCssClass string null
HideCloseButton bool False If true, modal close button is hidden. 1.0.0
Id string null Gets or sets the ID. If not set, a unique ID will be generated. 1.0.0
Style string null Gets or sets the CSS style. 1.0.0
Title string null
TitleContent RenderFragment null
TitleCssClass string null

Methods #

Name Return type Description Added Version
Hide() Void Hides the Modal. 1.0.0
Show() Void Shows the Modal. 1.0.0

Events #

Name Return Type Description Added Version
OnHidden EventCallback This event fires when the Modal is hidden. 1.0.0
OnShown EventCallback This event fires when the Modal is shown. 1.0.0