Plumtree UI Infrastructure API  
 

StyleClass Class

This class represents a style class defined in an HTML style sheet. To use a custom style class, simply create a new StyleClass instance with your custom style and pass it into the HTMLElement.

For example, if you have an HTMLTable object, and you wish to set a custom style class, you can do this:

myTable.SetStyleClass( new StyleClass("customclass" );

The resulting html will look something like:

<table class="customclass"> ...

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

System.Object
   com.plumtree.xpshared.htmlelements.StyleClass
      com.plumtree.xpshared.htmlconstructs.PTStyleClass

public class StyleClass

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.

Requirements

Namespace: com.plumtree.xpshared.htmlelements

Assembly: uiinfrastructure (in uiinfrastructure.dll)

See Also

StyleClass Members | com.plumtree.xpshared.htmlelements Namespace