Version

StylePrefix Property (IProvideAppStyling)

Short prefix prepended to each CSS class name associated with controls of this Type.
Syntax
'Declaration
 
Property StylePrefix As String
string StylePrefix {get; set;}

Property Value

String containing the prefix. Conventionally, this prefix ends with an underscore to distinguish it from the ASF style set and role names that are also concatenated into the CSS class name.
Remarks

The CSS class names that define the style information for each Application Styling Framework(tm) (ASF) role are made unique by Type of control because every control provides a unique StylePrefix string.

For example, the UltraWebToolbar control specifies it's prefix as "igtb" therefore all CSS class names appearing in the CSS style sheet of it's style sets must start with "igtb_". This allows Application Styling to work on toolbars appearing on the same Web forms with other types of controls (like grids) without CSS class naming collisions for common ASF roles (like the Item role.)

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