Window
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class Window : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent, IContentContainer, IAsyncContentContainer
Inheritance: objectWidgetBaseWindow
Implements:
Inherited Members
Constructors
C#
public Window(ViewContext viewContext, IUrlGenerator urlGenerator, IJavaScriptInitializer initializer)
Properties
C#
public WindowButtons Actions { get; }
C#
public PopupAnimation Animation { get; set; }
The action which will output the content.
C#
public Action Content { get; set; }
Implements:
The HtmlAttributes which will be added to the wrapper of the content.
C#
public IDictionary<string, object> ContentHtmlAttributes { get; }
Implements:
C#
public WindowContentSettings ContentSettings { get; set; }
Url, which will be used as a destination for the Ajax request.
C#
public string ContentUrl { get; set; }
Implements:
C#
public WindowDraggableSettings DraggableSettings { get; set; }
C#
public string IconAlternativeText { get; set; }
C#
public WindowModalSettings ModalSettings { get; set; }
C#
public WindowPositionSettings PositionSettings { get; }
C#
public WindowResizingSettings ResizingSettings { get; }
C#
public bool Scrollable { get; set; }
Set predefined size to the window. The width and height configuration options override the predefined size.Possible values are: auto; small; medium or large.
C#
public string Size { get; set; }
C#
public HtmlTemplate Template { get; }
C#
public WindowTitleSettings TitleSettings { get; set; }
C#
public IUrlGenerator UrlGenerator { get; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: