Click or drag to resize
CompiledViewLayout Property
The layout specified in the file. Null or the empty string if not specified in it. Not used when rendering.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public string Layout { get; }

Property Value

Type: String
Remarks
When executing the function the layout isn't rendered. This makes it easy for this view engine to render the layout specified, a different layout or no layout at all (in MVC lingo a "partial view").
See Also