QueryHelperGetColor Method |
Returns the color representation of a query parameter or default value
if parameter is not a valid color.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static Color GetColor(
string name,
Color defaultValue
)
Parameters
- name
- Type: SystemString
Query parameter - defaultValue
- Type: System.DrawingColor
Default value
Return Value
Type:
Color
See Also