StyleProperties Methods

Spotfire 14.3 API Reference

The StyleProperties type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToInlineCss
Creates a string containing the CSS corrsponding to the current property values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodCreateFont
Creates a font from current settings.
(Defined by DrawingStyleExtensions.)
Public Extension MethodCreateFontMetadata
Creates a font from current settings.
(Defined by DrawingStyleExtensions.)
Public Extension MethodGetEffectiveBackgroundColor
Gets a suitable color to use for painting the background. Use this to render the background of an element that does not support transparency. This method is typically only relevant for Forms based implementations of views for CustomVisuals etc. If your view is based on HTML and Javascript (that is, derived from CustomVisualView) you can just leave your background transparent to use the theme color of the page.
(Defined by DrawingStyleExtensions.)
Top
See Also

Reference