Share via


ViewComponent.ViewContext Property

Definition

Gets the ViewContext.

public:
 property Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ ViewContext { Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ get(); };
public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; }
member this.ViewContext : Microsoft.AspNetCore.Mvc.Rendering.ViewContext
Public ReadOnly Property ViewContext As ViewContext

Property Value

Applies to