Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

InlineStyle Class

This class maintains a collection of CSS style attributes.

For a list of all members of this type, see InlineStyle Members.

System.Object
   EO.Web.InlineStyle

[Visual Basic]
Public Class InlineStyle
[C#]
public class InlineStyle

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

InlineStyle and CssText property maintain the same set of CSS attributes, you can use either to access a CSS attribute value. Here is an example of retrieving the same CSS attribute value by using InlineStyle and specific style property.

[C#] 
string strBorderStyle;
Color borderColor;

strBorderStyle = Menu1.TopGroup.Style.InlineStyle["border-top"];
borderColor = Menu1.TopGroup.Style.BorderColor;
[Visual Basic.NET] 
Dim strCSSValue As String
Dim borderColor As Color

strCSSValue = Menu1.TopGroup.Style.InlineStyle.Item("border-top")
borderColor = Menu1.TopGroup.Style.BorderColor()

Requirements

Namespace: EO.Web

Assembly: EO.Web (in EO.Web.dll)

See Also

InlineStyle Members | EO.Web Namespace


Direct link to this topic