Class Grid
- Namespace
- Dynamicweb.Rendering.Designer
- Assembly
- Dynamicweb.dll
Helper functions to the grid system
public class Grid
- Inheritance
-
Grid
- Inherited Members
Methods
DeseralizeSettings(string)
Deseralizes a grid settings object from a json file.
public static GridSettings DeseralizeSettings(string fullPath)
Parameters
fullPath
string- The full path to the json file, i.e. c:\dynamicweb\files\templates\designs\layout\gridsettings.json.
Returns
- GridSettings
- A GridSettings instance of the settings from the json file.
SerializeSettings(GridSettings, string)
Serializes the grid settings to a json file.
public static void SerializeSettings(GridSettings settings, string fullPath)
Parameters
settings
GridSettings- A GridSettings instance of the settings that needs to be saved.
fullPath
string- The full path to the json file, i.e. c:\dynamicweb\files\templates\designs\layout\gridsettings.json.