ViewComponentContext Class

Definition

A context for view components.

public ref class ViewComponentContext
public class ViewComponentContext
type ViewComponentContext = class
Public Class ViewComponentContext
Inheritance
ViewComponentContext

Constructors

ViewComponentContext()

Creates a new ViewComponentContext.

ViewComponentContext(ViewComponentDescriptor, IDictionary<String,Object>, HtmlEncoder, ViewContext, TextWriter)

Creates a new ViewComponentContext.

Properties

Arguments

Gets or sets the view component arguments.

HtmlEncoder

Gets or sets the HtmlEncoder.

TempData

Gets the ITempDataDictionary.

ViewComponentDescriptor

Gets or sets the ViewComponentDescriptor for the view component being invoked.

ViewContext

Gets or sets the ViewContext.

ViewData

Gets the ViewDataDictionary.

Writer

Gets the TextWriter for output.

Applies to