Export (0) Print
Expand All

HtmlElement.RemoveStyleAttribute Method

Silverlight

Removes a style attribute on the current HTML element.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public void RemoveStyleAttribute(
	string name
)

Parameters

name
Type: System.String
The style attribute to be removed.

ExceptionCondition
ArgumentException

name is an empty string.

ArgumentNullException

name is null.

If the style attribute is not recognized, this method's behavior is determined by the browser.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft