Version

StyleSheetFileName Property (SmartWebControl)

File name and path to the CSS stylesheet for this SmartWebControl.
Syntax
'Declaration
 
Public Overridable Property StyleSheetFileName As String
public virtual string StyleSheetFileName {get; set;}
Remarks

This property specifies the location of an external Cascading Style Sheet (CSS) resource for the current SmartWebControl to use. This style sheet should contain definitions of well-known style names starting with ControlPrefix to detail the default styling of this element. It may additionally contain definitions of custom classes specified at design-time or programmatically through the CssClass of the appropriate Style property.

If unspecified, the default CSS resource will be used for the element's default styles. If that resource cannot be found, the element will be displayed with a blank appearance and minimal style information to achieve normal layout and behavior.

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