ViewComponentContext Class

Definition

A context for view components.

C#
public class ViewComponentContext
Inheritance
ViewComponentContext

Constructors

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

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0