in namespace DotVVM.Framework.Controls.Bootstrap4

Renders an universal close button for modal dialogs and alerts.

Usage & Scenarios

Renders a close button for ModalDialog.

Sample 1: Inline CheckBoxes

The IsInline property allows to render checkboxes on one row.

Use the FormControlStyle property to choose between browser default theme and Bootstrap custom theme.

<bs:ModalDialog IsDisplayed="{value: Displayed}">

    Dialog header

    This is the contents of the dialog.
public class ViewModel
    public bool Displayed { get; set; } = true;



Name Type Description Notes Default Value
property icon DataDismiss String Gets or sets the data-dismiss parameter of the control.
inner element
static value

HTML produced by the control