Defines the fluent API for configuring DialogModalSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class DialogModalSettingsBuilder
Inheritance: objectDialogModalSettingsBuilder
Inherited Members
Constructors
DialogModalSettingsBuilder method.
C#
public DialogModalSettingsBuilder(DialogModalSettings container)
Properties
Gets the settings being configured.
C#
protected DialogModalSettings Container { get; }
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.
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 for PreventScroll
Returns: