Window
Kendo UI Window component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Window : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseWindow
Implements:
Inherited Members
Constructors
Initializes a new instance of the Window class.
Properties
Actions member.
public WindowButtons Actions { get; }
Animation member.
public PopupAnimation Animation { get; }
Determines whether the Window will be focused automatically when opened. The property also influences the focus behavior when an already opened Window is clicked.
public bool? AutoFocus { get; set; }
ContentAction member.
public Action ContentAction { get; set; }
ContentHtmlAttributes member.
public IDictionary<string, object> ContentHtmlAttributes { get; }
Gets or sets the ContentUrl.
public string ContentUrl { get; set; }
DraggableSettings member.
public WindowDraggableSettings DraggableSettings { get; }
Explicitly states whether a content iframe will be created. For more information, refer to the documentation on using iframes.
public bool? Iframe { get; set; }
The maximum height (in pixels) that may be achieved by resizing the Window.
public string MaxHeight { get; set; }
The maximum width (in pixels) that may be achieved by resizing the Window.
public string MaxWidth { get; set; }
The minimum height (in pixels) that may be achieved by resizing the Window.
public string MinHeight { get; set; }
The minimum width (in pixels) that may be achieved by resizing the Window.
public string MinWidth { get; set; }
Specifies whether the window should show a modal overlay over the page.
public WindowModalSettings ModalSettings { get; }
Specifies whether the Window will be pinned, that is, that it will not move together with the page content during scrolling.
public bool? Pinned { get; set; }
A collection of one or two members which define the initial top and/or left position of the Window or the position of the containment element on the page.
public WindowPositionSettings Position { get; }
ResizingSettings member.
public WindowResizingSettings ResizingSettings { get; }
Enables (true) or disables (false) the scrolling of the Window contents.
public bool? Scrollable { get; set; }
Sets a predefined size to the Window. The width and height configuration options override the predefined size.The supported values are: auto; small; medium or large.
public string Size { get; set; }
TitleSettings member.
public WindowTitleSettings TitleSettings { get; }
Specifies whether the Window will be initially visible.
public bool? Visible { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: