ViewTemplateUserControl ViewTemplateUserControl ViewTemplateUserControl Class

Definition

Provides a container for TemplateInfo objects.

public class ViewTemplateUserControl : System.Web.Mvc.ViewTemplateUserControl<object>
type ViewTemplateUserControl = class
    inherit ViewTemplateUserControl<obj>
Public Class ViewTemplateUserControl
Inherits ViewTemplateUserControl(Of Object)
Inheritance

Constructors

ViewTemplateUserControl() ViewTemplateUserControl() ViewTemplateUserControl()

Initializes a new instance of the ViewTemplateUserControl class.

Properties

Ajax Ajax Ajax

Gets the AJAX script for the view.

(Inherited from ViewUserControl<TModel>)
FormattedModelValue FormattedModelValue FormattedModelValue

Gets the formatted value.

(Inherited from ViewTemplateUserControl<TModel>)
Html Html Html

Gets the HTML for the view.

(Inherited from ViewUserControl<TModel>)
Model Model Model

Gets the model.

(Inherited from ViewUserControl<TModel>)
TempData TempData TempData

Gets the temporary-data dictionary.

(Inherited from ViewUserControl)
Url Url Url

Gets the URL for the view.

(Inherited from ViewUserControl)
ViewBag ViewBag ViewBag

Gets the view bag.

(Inherited from ViewUserControl)
ViewContext ViewContext ViewContext

Gets or sets the view context.

(Inherited from ViewUserControl)
ViewData ViewData ViewData

Gets or sets the view data.

(Inherited from ViewUserControl<TModel>)
ViewDataKey ViewDataKey ViewDataKey

Gets or sets the view-data key.

(Inherited from ViewUserControl)
Writer Writer Writer

Gets the writer that is used to render the view to the response.

(Inherited from ViewUserControl)

Methods

EnsureViewData() EnsureViewData() EnsureViewData()

Ensures that view data is added to the ViewDataDictionary object of the user control if the view data exists.

(Inherited from ViewUserControl)
RenderView(ViewContext) RenderView(ViewContext) RenderView(ViewContext)

Renders the view by using the specified view context.

(Inherited from ViewUserControl)
SetTextWriter(TextWriter) SetTextWriter(TextWriter) SetTextWriter(TextWriter)

Sets the text writer that is used to render the view to the response.

(Inherited from ViewUserControl)
SetViewData(ViewDataDictionary) SetViewData(ViewDataDictionary) SetViewData(ViewDataDictionary)

Sets the view data for the view.

(Inherited from ViewUserControl<TModel>)

Applies to