IHtmlControlDesignerBehavior.SetStyleAttribute Method (String, Boolean, Object, Boolean)
.NET Framework (current version)
Sets the specified style attribute to the specified object.
Assembly: System.Design (in System.Design.dll)
void SetStyleAttribute( string attribute, bool designTimeOnly, object value, bool ignoreCase )
Parameters
- attribute
-
Type:
System.String
The attribute to set.
- designTimeOnly
-
Type:
System.Boolean
true if the attribute is only active at design-time; otherwise, false.
- value
-
Type:
System.Object
The object to set the attribute on.
- ignoreCase
-
Type:
System.Boolean
true if the attribute syntax is case-insensitive; otherwise, false.
Note |
|---|
The SetStyleAttribute method is obsolete. Use the AddDesignTimeCssAttributes method on the ContainerControlDesigner class for equivalent control designer functionality. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
