Version

AppendStyle(StringBuilder,Control) Method

Append custom properties in format compatible with css rules supported by browsers.
Syntax
'Declaration
 
Public Overloads Overridable Sub AppendStyle( _
   ByVal sb As StringBuilder, _
   ByVal imagePathProvider As Control _
) 
public virtual void AppendStyle( 
   StringBuilder sb,
   Control imagePathProvider
)

Parameters

sb
StringBuilder to append to
imagePathProvider
Object that is build the value of "url(aFileName)" for the BackgroundImage property. It can be instance of IProvideAppStyling or IProvideImageDirectoryResolution.
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