Version

CustomRules Property (Style)

A string of text that determines additional CSS rules to apply to the object.
Syntax
'Declaration
 
Public Property CustomRules As String
public string CustomRules {get; set;}
Remarks

Use this property to specify additional CSS style rules to render to an element on the client.

Styles specified through this property are comprised of name: value; pairs, where the name of a CSS style property is separated from its value by a colon assignment operator, and each assignment is terminated by a semicolon. Failure to properly format these assignments may lead to undefined behavior, such as CSS conformant browsers ignoring one (or all) style rules for the affected element.

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