IHtmlControlDesignerBehavior.GetStyleAttribute Method (String, Boolean, Boolean)

 

Gets the specified style attribute.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

object GetStyleAttribute(
	string attribute,
	bool designTimeOnly,
	bool ignoreCase
)

Parameters

attribute
Type: System.String

The style attribute to retrieve.

designTimeOnly
Type: System.Boolean

true if the attribute is only active at design time; otherwise, false.

ignoreCase
Type: System.Boolean

true if the attribute syntax is case-insensitive; otherwise, false.

Return Value

Type: System.Object

The style attribute that was retrieved.

System_CAPS_noteNote

The GetStyleAttribute method is obsolete. Use the GetDesignTimeCssAttributes method on the ContainerControlDesigner class for equivalent control designer functionality.

.NET Framework
Available since 1.1
Return to top
Show: