Click or drag to resize

ControlResourcesAddStyleBlock Method

Adds new <style> block to the current page output.

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public static void AddStyleBlock(
	string key,
	string contents
)

Parameters

key
Type: SystemString
String identifier of the target block.
contents
Type: SystemString
Style block contents.
Remarks