Defines the fluent API for configuring WindowModalSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class WindowModalSettingsBuilder
Inheritance: objectWindowModalSettingsBuilder
Inherited Members
Constructors
WindowModalSettingsBuilder method.
C#
public WindowModalSettingsBuilder(WindowModalSettings container)
Properties
Gets the settings being configured.
C#
protected WindowModalSettings Container { get; }
Methods
Specifies whether the document should stop scrolling when modal dialog is window. Closing it should restore the initial document overflow. Note that it's not supported to have multiple windows with different preventScroll setting.
Specifies whether the document should stop scrolling when modal dialog is window. Closing it should restore the initial document overflow. Note that it's not supported to have multiple windows with different preventScroll setting.
C#
public WindowModalSettingsBuilder PreventScroll(bool value)
The value for PreventScroll
Returns: