Class ControlStyleAttribute
Inheritance
System.Object
ControlStyleAttribute
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public sealed class ControlStyleAttribute : Attribute
Constructors
| Improve this Doc View SourceControlStyleAttribute(String, String, String)
Initializes a new instance of the ControlStyleAttribute class.
Declaration
public ControlStyleAttribute(string cssClass, string width, string height)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The css class to apply to the associated property. |
System.String | width | control width. |
System.String | height | control height. |
ControlStyleAttribute(String, String)
Initializes a new instance of the ControlStyleAttribute class.
Declaration
public ControlStyleAttribute(string cssClass, string width)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The css class to apply to the associated property. |
System.String | width | control width. |
ControlStyleAttribute(String)
Initializes a new instance of the ControlStyleAttribute class.
Declaration
public ControlStyleAttribute(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The css class to apply to the associated property. |
Properties
| Improve this Doc View SourceCssClass
Declaration
public string CssClass { get; }
Property Value
Type | Description |
---|---|
System.String |
Height
Declaration
public Unit Height { get; }
Property Value
Type | Description |
---|---|
Unit |
Width
Declaration
public Unit Width { get; }
Property Value
Type | Description |
---|---|
Unit |