LocalizeAttributeTagHelper.

ViewContext Property

Summary

Gets or sets the view context (automatically set when using razor views).

Syntax

[HtmlAttributeNotBound]
[ViewContext]
public ViewContext ViewContext { get; set; }

Attributes

Type Description
HtmlAttributeNotBound
ViewContext

Value

Type Description
ViewContext