Defines the fluent interface for configuring a widget with deferred initialization.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TViewComponent
The view component.
Syntax:
C#
public class DeferredWidgetBuilder<TViewComponent> : HelperResult, IHtmlContent where TViewComponent : WidgetBase
Inheritance: objectHelperResultDeferredWidgetBuilder<TViewComponent>
Implements:
Inherited Members
Constructors
Initializes a new instance of the DeferredWidgetBuilder<TViewComponent> class.
C#
public DeferredWidgetBuilder(TViewComponent component)
Properties
Component
TViewComponent
Gets the view component.
C#
protected TViewComponent Component { get; set; }
The component.
Methods
Renders the component in place.
C#
public virtual void Render()
Returns the client template for the component.
Returns the internal view component.
C#
public TViewComponent ToComponent()
TViewComponent
The TViewComponent instance that represents the widget.
Returns the HTML representation of the component.
C#
public override void WriteTo(TextWriter writer, HtmlEncoder encoder)
Overrides: