Version

LegendModel Class Properties

For a list of all members of this type, see LegendModel members.

Public Properties
 NameDescription
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyHeightGets or sets the height of the igDataChart container.  
Public PropertyHtmlAttributesSets custom attributes of the div on which the map widget will be created.  
Public PropertyIDGets or sets the ID of the DOM element of the legend.  
Public PropertyLegendItemBadgeStyle (Inherited from Infragistics.Web.Mvc.LegendBaseModel)
Public PropertyLegendItemsListStyle (Inherited from Infragistics.Web.Mvc.LegendBaseModel)
Public PropertyLegendItemStyle (Inherited from Infragistics.Web.Mvc.LegendBaseModel)
Public PropertyLegendItemTextStyle (Inherited from Infragistics.Web.Mvc.LegendBaseModel)
Public PropertyLegendTypeGets or sets the type of the legend.  
Public PropertyWidthGets or sets the width of the igDataChart container.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub