Class Properties
- Namespace
- Dynamicweb.Modules
- Assembly
- Dynamicweb.dll
This class contains the methods and properties for work with properties hashtable related to module settings on a paragraph.
- Inheritance
-
Properties
- Inherited Members
Remarks
See Dynamicweb.ContentModule where this object is in use.
Constructors
Properties()
Initialize a new node hashtable.
Properties
this[string]
Stores and retrieves Item of the current name value.
Parameters
name
string
Property Value
- string
String
ModuleBeingAttached
Used on Module Settings tab on paragraphs to see if the module is being attached
Property Value
Values
Returns the nodes hashtable.
Property Value
- IDictionary<string, string>
Hashtable
Methods
GetParagraphModuleSettings(int, bool)
Returns the paragraph module settings for the specified ParagraphID, should be used only from backend.
Parameters
Returns
GetParagraphModuleSettings(int, string)
Returns the paragraph module settings for the specified module on the specified page.
Parameters
Returns
GetTableByNode(string)
Get current node from hashtable.
Parameters
node
string
Returns
- string
String
GetValue(string)
Retrieves values from the nodes collection.
Parameters
name
string
Returns
LoadProperties()
Loads the properties for the module tab of the current Paragraph. Used on Paragraph Module Settings tab.
Returns
- Properties
Properties.
LoadProperties(DataRow)
Loads the properties of the current ParagraphRow.
Parameters
paragraphRow
DataRow Current ParagraphRow.
Returns
- Properties
Properties.
LoadProperties(int)
Loads the properties of the specified paragraph
Parameters
paragraphId
intThe ID of the paragraph
Returns
- Properties
Properties.
LoadProperty(string)
Load property from the source to the hashtable.
Parameters
xml
string
LoadProperty(string, bool)
Load property from the source to the hashtable.
Parameters
SetDefaultValue(string, string)
Use to set default values used if no value is present or there is no underlying data
Parameters
SetValue(string, string)
Stores values from the nodes collection.
Parameters
ToString()
Returns a serialized XML-string representing the current object.
Returns
- string
A string representation of the current object.