RanorexRanorex Documentation
SetStyle Method (name, value)
NamespacesRanorexWebElementSetStyle(String, String)
Sets a CSS style attribute of an element (by name).
Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetStyle(
	string name,
	string value
)
Public Overridable Sub SetStyle ( _
	name As String, _
	value As String _
)
public:
virtual void SetStyle(
	String^ name, 
	String^ value
)
Parameters
name (String)
The name of the style.
value (String)
The value to set the style to.
Exceptions
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.

Assembly: Ranorex.Plugin.Web (Module: Ranorex.Plugin.Web) Version: 4.0.3.22982 (4.0.3.22982)