 | CompiledViewLayout Property |
The layout specified in the file. Null or the empty string if not specified in it. Not used when rendering.
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntaxpublic string Layout { get; }
Public ReadOnly Property Layout As String
Get
public:
property String^ Layout {
String^ get ();
}
member Layout : string with 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