Version

GetStyleClassString(Int32,String) Method

Returns css class string depending on the app styling setting and appends a custom css class to it.
Syntax
'Declaration
 
Public Overloads Function GetStyleClassString( _
   ByVal roleIndex As Integer, _
   ByVal customCssClass As String _
) As String
public string GetStyleClassString( 
   int roleIndex,
   string customCssClass
)

Parameters

roleIndex
Role index of the css class role to return.
customCssClass
Custom css class name to append.

Return Value

Combined css class name of the role and a custom class.
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