Property Reference > Quick Reference for All Properties > Templates Property |
C1QueryFrame.Templates = string
Notes
Read/Write at run time and design time. Property applies to C1QueryFrame control.
Description
This property defines the template attributes stored in the C1QueryFrame control. Template attributes are used to customize C1QueryFrame user interface, see Customizing the User Interface.
At design time, the templates can be imported from a text file, see Customizing the UI with Templates.
At run time, you can read the contents of a text file containing C1QueryFrame templates, or download a string with template attributes from the Internet, or obtain it in any other convenient way, and assign that string to the Templates property.
To load templates directly from a disk file, call the LoadTemplatesFromFile method.
To change specific template attributes at run time without affecting other attributes, call the SetTemplateAttribute method.