Edit

Share via


IHtmlControlDesignerBehavior.GetStyleAttribute Method

Definition

Gets the specified style attribute.

public:
 System::Object ^ GetStyleAttribute(System::String ^ attribute, bool designTimeOnly, bool ignoreCase);
public object GetStyleAttribute (string attribute, bool designTimeOnly, bool ignoreCase);
abstract member GetStyleAttribute : string * bool * bool -> obj
Public Function GetStyleAttribute (attribute As String, designTimeOnly As Boolean, ignoreCase As Boolean) As Object

Parameters

attribute
String

The style attribute to retrieve.

designTimeOnly
Boolean

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

ignoreCase
Boolean

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

Returns

The style attribute that was retrieved.

Remarks

Note

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

Applies to

See also