Defines the fluent API for configuring the DialogModalSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class DialogModalSettingsBuilder
Inheritance: objectDialogModalSettingsBuilder
Inherited Members
Constructors
Initialize the DialogModalSettingsBuilder
C#
public DialogModalSettingsBuilder(DialogModalSettings settings)
Methods
Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting.
C#
public DialogModalSettingsBuilder PreventScroll(bool value)
The value that configures the preventscroll.
Returns: