WidgetBase
WidgetBase member.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public abstract class WidgetBase : IHtmlAttributesContainer
Inheritance: objectWidgetBase
Derived Classes:
Implements:
Inherited Members
Constructors
WidgetBase method.
Properties
Gets the client events of the widget.
public IDictionary<string, object> Events { get; }
The client events.
Gets or sets the Explorer.
public ModelExplorer Explorer { get; set; }
The Explorer.
Generator member.
protected IKendoHtmlGenerator Generator { get; set; }
HasClientComponent member.
public bool HasClientComponent { get; set; }
Gets or sets the HasDeferredInitialization.
public bool HasDeferredInitialization { get; set; }
Gets the HTML attributes of the widget.
public IDictionary<string, object> HtmlAttributes { get; set; }
The HTML attributes.
Implements:
HtmlEncoder member.
public HtmlEncoder HtmlEncoder { get; set; }
HtmlHelper member.
public IHtmlHelper HtmlHelper { get; set; }
Gets the unique ID of the widget
public virtual string Id { get; }
The unique ID of the widget
Gets or sets the Initializer.
public IJavaScriptInitializer Initializer { get; set; }
Gets or sets the IsInClientTemplate.
public bool IsInClientTemplate { get; }
Gets or sets the IsSelfInitialized.
public bool IsSelfInitialized { get; set; }
Gets or sets the ModelMetadataProvider.
public IModelMetadataProvider ModelMetadataProvider { get; set; }
SanitezeId member.
public bool SanitezeId { get; set; }
Set the JavaScript attributes to the initialization script.
public IDictionary<string, object> ScriptAttributes { get; set; }
UrlGenerator member.
public IUrlGenerator UrlGenerator { get; set; }
UseMvvmInitialization member.
public bool UseMvvmInitialization { get; set; }
Gets a reference to the ValueProvider for the current ActionContext
public IValueProvider ValueProvider { get; }
Gets or sets the view context to rendering a view.
public ViewContext ViewContext { get; }
The view context.
Gets or sets the Writer.
public IJavaScriptWriter Writer { get; set; }
Methods
DeferStyles method.
public virtual void DeferStyles()
GetElement method.
GetInitializator method.
GetService{TService} method.
protected TService GetService<TService>()
TService
ProcessSettings method.
public virtual void ProcessSettings()
Renders the component.
public void Render()
RenderHtml method.
Serialize method.
Serialize manual settings here
protected virtual Dictionary<string, object> SerializeSettings()
ToClientTemplate method.
ToHtmlString method.
VerifySettings method.
public virtual void VerifySettings()
WriteDeferredScriptInitialization method.
public virtual void WriteDeferredScriptInitialization()
Writes the deferred styes.
public virtual void WriteDeferredStyles(TextWriter writer)
The writer.
Writes the HTML.
Writes the initialization script.
public abstract void WriteInitializationScript(TextWriter writer)
The writer.
WriteLicensingScript method.
WriteMvvmHtml method.