Click or drag to resize

CmfStyle Class

Class supports the same style properties and their values as "cmf_Style" Item Type.

Namespace:  Aras.Modules.CMF.Public
Syntax
JavaScript
Aras.Modules.CMF.Public.CmfStyle = function();

Type.createClass(
	'Aras.Modules.CMF.Public.CmfStyle');

The CmfStyle type exposes the following members.

Constructors
  NameDescription
Public methodCmfStyle
Top
Properties
  NameDescription
Public propertyCode examplebackgroundColor
Hex format and only in format: "#aBcdeF" is only supported.
Public propertyCode examplefontFamily
Get/Set font-family.
Public propertyCode examplefontSize
Integer values (not decimal) are only supported. In Pixels.
Public propertyCode examplefontStyle
"normal" and "italic" values are only supported.
Public propertyCode examplefontWeight
"normal" and "bold" values are only supported.
Public propertyCode exampletextAlign
"left", "right" and "center" values are only supported.
Public propertyCode exampletextColor
Hex format and only in format: "#aBcdeF" is only supported.
Public propertyCode exampletextDecoration
"none" and "underline" values are only supported.
Top
Methods
  NameDescription
Public methodCode exampleclone
Create a clone of the instance.
Top
See Also