Initializes a new instance of the StyleAttribute class.

Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public ControlStyleAttribute(
	string cssClass,
	string width
)
Visual Basic
Public Sub New ( 
	cssClass As String,
	width As String
)

Parameters

cssClass
Type: System..::..String
The css class to apply to the associated property
width
Type: System..::..String
control width.

See Also