Click or drag to resize
TemplateFile Class
A representation of a template file.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Rendering.DesignerTemplateFile

Namespace: Dynamicweb.Rendering.Designer
Assembly: Dynamicweb (in Dynamicweb.dll) Version: 9.8.0
Syntax
public class TemplateFile

The TemplateFile type exposes the following members.

Constructors
  NameDescription
Public methodTemplateFile
Initializes a new instance of the TemplateFile class.
Top
Properties
  NameDescription
Public propertyDescription
Gets the description of the template file from @Paragraph.Description(the description).
Public propertyFileNameWithoutExtension
Gets the name of the template file with out extension.
Public propertyFullName
Gets the absolute path to the template , i.e /Files/Templates/Designs/Design1/Paragraph/file.html
Public propertyIcon
Gets the icon of the layout - a .gif, .png or .jpg with same name and location as the html file.
Public propertyLocation
Gets the absolute path to the template folder, i.e /Files/Templates/Designs/Design1/Paragraph/
Public propertyName
Gets the name of the template file, i.e. file.html
Public propertyNameWithOutExtension Obsolete.
Public propertyTemplateFileInfo
Gets a fileinfo object of the layout template
Public propertyTemplateName
Gets the relative path to the template , i.e /Designs/Design1/Paragraph/file.html
Public propertyTitle
Gets the title of the template file from @Paragraph.Title(the title). Otherwise it returns the name of the template file.
Top
Methods
  NameDescription
Public methodStatic memberGetTemplateFiles
Gets a collection of template files in specified directory.
Top
Remarks
Only files of type .html, .htm, .xsl, .xslt. Icon files can be placed in same location with same name, but with extension of png, gif or jpg
See Also