dundas.controls.DropDownStyle Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.DropDownStyle
 

Constructors

 
  Name Description
init Initializes the class. Called during construction.
 
 

Properties

 
  Name Description
background Gets or sets the brush used to fill the background of the style.
border Gets or sets the border for the style.
fontColor Gets or sets the font color for the style.
fontFamily Gets or sets the font family for this style.
fontSize Gets or sets the font size for this style.
fontStyle Gets or sets the font style for this style.
fontVariant Gets or sets the font variant for this style.
fontWeight Gets or sets the font weight for this style.
parentAdapter Gets the parent adapter, if any, that is using this drop down style. This is typically a parameter adapter, but can be any control which implements a refreshDropDownStyle method.
secondBackground Gets or sets the brush used to fill the second background of the style. If the control has multiple background colors in the drop down, this will fill the second one.
textDecoration Gets or sets the text-transform for this style.
textTransform Gets or sets the text-transform for this style.
thirdBackground Gets or sets the brush used to fill the third background of the style. If the control has multiple background colors in the drop down, this will fill the third one.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getResolvedFontStyle Gets the resolved font style for the drop down style. The resolved style uses the values from the drop down style first, and the parent adapter(if available) second.
getResolvedStyle Gets the resolved style, including the font style, for the drop down style. The resolved style uses the values from the drop down style first, and the parent adapter(if available) second.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.