dundas.controls.MenuItemStyle Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.BasicMenuItem
      dundas.controls.MenuItemStyle
 

Constructors

 
  Name Description
init Initializes the control. Called during construction. Inherited from dundas.controls.BasicMenuItem.
 
 

Properties

 
  Name Description
iconSize Gets or sets a value indicating an override size (width/height as they are square) for the item and indicator icon. Inherited from dundas.controls.BasicMenuItem.
isIndicatorIconAlwaysShown Gets or sets whether the indicator icon is always shown or not. By default, it only shows when this menu item has children. Inherited from dundas.controls.BasicMenuItem.
itemDepth Gets or sets 0-based depth for the items that this style should apply to.
padding Gets or sets the padding of the control. Inherited from dundas.controls.BasicMenuItem.
stateStyles Gets or sets the styles for each of the possible states of the item. Inherited from dundas.controls.BasicMenuItem.
width Gets or sets the width for items at depth 1 or higher when the 'Show As Popup' option is used.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Gets the string representation for this object.