Version

GetStyleClassString Method (StyleBot)

Convert name of style to the name of CSS defined in resource file.
Overload List
OverloadDescription
GetStyleClassString(String)Convert name of style to the name of CSS defined in resource file.  
GetStyleClassString(String,String)Convert name of styles to the name of CSS defined in resource files. Designed to be used by rendering logic of control without any Style.  
GetStyleClassString(Int32)Get css class name for a role  
GetStyleClassString(Int32,String)Returns css class string depending on the app styling setting and appends a custom css class to it.  
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