NuGet package | Owin.Framework.Pages.Html |
GitHub source | OwinFramework.Pages.Html |
Attach the [ZoneTemplate] attribute to elements that contain multiple content areas (zones) to place a template set within the specified zone.
The [ZoneTemplate] attribute can be used on a layout to define the default content of a zone within the layout. It can also be used on a region or page that contains a layout to overide the layout and change the content of the zone for this instance of the layout.
The [ZoneTemplate()] attribute has the following properties you can set.
This is the name of the zone within a layout where the template should be rendered.
Defines the path of the template to render. Template paths look like Url paths, but they are references to the location of a template within the template folder structure.