Defines the fluent API for configuring the WindowModalSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class WindowModalSettingsBuilder
Inheritance: objectWindowModalSettingsBuilder
Inherited Members
Constructors
Initialize the WindowModalSettingsBuilder
C#
public WindowModalSettingsBuilder(WindowModalSettings settings)
Methods
Specifies whether the document should stop scrolling when modal window is opened. 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 that configures the preventscroll.
Returns: