Version

StyleSetName Property (SmartWebControl)

Name of the Application Styling Framework(tm) style set defining the themed appearance for this control.
Syntax
'Declaration
 
Public Overridable Property StyleSetName As String
public virtual string StyleSetName {get; set;}

Property Value

The name of the Application Styling Framework(tm) (ASF) style set which has been designed to give this control a consistent appearance with other controls in your application.

This property may return the empty string ("") to imply that the default style set (named "Default") should be used.

Remarks

Web sites can configure a single, consistent, application-wide style set through the styleSetName attribute in their "web.config" file. Alternately, they can define the style set to apply Application Styling to all controls on a Page by placing a WebPage control on that Page and setting it's StyleSetName property.

At the control level this property allows an application developer to customize the style set applied to a single instance of a control.

Normally, graphics designers will furnish you with a style set containing one or more style sheet files (one for each type of control) and image files. The name of the style set (with the exception of the "Default" style set) must appear in each Cascading Style Sheet (CSS) class name defined by this control's style sheet file. For example, two WebTree controls that each use a different style set, "Aqua" and "Onyx", would expect their CSS class names for the ASF Node role to be "igtr_AquaNode" and "igtr_OnyxNode", respectively. This allows the uniqueness of CSS class names necessary to distinguish multiple style sets for the same type of control, without there being any naming collisions.

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