New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the WindowModalSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class WindowModalSettings : JsonObject

Inheritance: objectJsonObjectWindowModalSettings

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialization for the WindowModalSettings

C#
public WindowModalSettings()

Properties

Specifies whether the window should show a modal overlay over the page.

C#
public bool Enabled { get; set; }

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 bool? PreventScroll { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)