IHtmlControlDesignerBehavior::SetStyleAttribute Method (String^, Boolean, Object^, Boolean)

 

Sets the specified style attribute to the specified object.

Namespace:   System.Web.UI.Design
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.

System_CAPS_noteNote

The SetStyleAttribute method is obsolete. Use the AddDesignTimeCssAttributes method on the ContainerControlDesigner class for equivalent control designer functionality.

.NET Framework
Available since 1.1
Return to top
Show: