ASP.NET Pack Programmer's Guide
Style Class
Remarks See Also
 





Represents a set of appearance properties whose values can be inherited from parent objects if not set locally for an item.

Namespace: MindFusion.Diagramming
Package: Style.js

 Syntax

JavaScript  Copy Code

// class
Style.prototype = {}

 Remarks

An instance of this class can be used to set items' appearance properties as a single unit via the setStyle method. In order for style attributes to be used, the respective local appearance properties of a DiagramItem objects must have undefined or null values. If an item's Style does not define a value for some attribute, it is looked up in the styling hierarchy, first in the diagram's Style, next in the current Theme, and finally in the set of default styles defined for each item class.

 See Also

Style Members
MindFusion.Diagramming Namespace