Version

Add(String,String,String) Method

Adds custom string of style rules to the CSS registry.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal rules As String, _
   ByVal cssClass As String, _
   ByVal selector As String _
) 
public void Add( 
   string rules,
   string cssClass,
   string selector
)

Parameters

rules
Custom string of style rules.
cssClass
CSS class name to register the style under.
selector
Selector format that should be rendered for the style. Example: TBODY.{0} TR TD
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also