Version

InitializeStyle(Style,Int32,String) Method

Add style to StyleRepo. It is designed for style which is not represented by css. For example items in collections which local style override a higher level default style.
Syntax
'Declaration
 
Public Overloads Sub InitializeStyle( _
   ByVal style As Style, _
   ByVal priority As Integer, _
   ByVal key As String _
) 
public void InitializeStyle( 
   Style style,
   int priority,
   string key
)

Parameters

style
Instance of Style. Validation for null is built-in
priority
Priority of style.
key
Value for unique key in value of css class name
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