[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.PopupBuilder.Modal

Modal Method

Modal(bool)

Configurates Modal. Sets a value that determines whether the Popup should be displayed as a modal dialog.

Declaration
public PopupBuilder Modal(bool value)
Parameters
Type Name Description
bool value

The value.

Returns
Type Description
PopupBuilder

Current builder.

Remarks

Modal dialogs show a dark backdrop that makes the Popup stand out from other content on the page.If you want to make a dialog truly modal, also set the HideTrigger property to None, so users won't be able to click the backdrop to dismiss the dialog. In this case, the dialog will close only if the close method is called or if the user presses the Escape key.