Version

TreeModel Class Properties

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

Public Properties
 NameDescription
Public PropertyAnimationDurationGets or sets the animation delay for the expand/collapse behavior.  
Public PropertyBindingsGets or sets the data binding properties.  
Public PropertyCheckboxModeGets or sets the checkbox mode for the igTree.  
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 PropertyDataSourceGets or sets the data source object.  
Public PropertyDataSourceTypeGets or sets the type of the data source.  
Public PropertyDataSourceUrlGets or sets the data source URL.  
Public PropertyDataViewGets or sets the data view.  
Public PropertyDefaultNodeTargetGets or sets the default node anchor target.  
Public PropertyDragAndDropGets or sets the drag and drop option.  
Public PropertyDragAndDropSettingsGets or sets the drag and drop settings.  
Public PropertyHeightGets or sets the height of the igTree container.  
Public PropertyHotTrackingGets or sets whether hover style would be applied to nodes in the igTree.  
Public PropertyHtmlAttributesSets custom attributes of the container on which the Tree widget will be instantiated.  
Public PropertyIDGets or sets the ID of the igTree container.  
Public PropertyInitialExpandDepthGets or sets the initial expand depth.  
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLeafNodeImageClassGets or sets the leaf node image class.  
Public PropertyLeafNodeImageTooltipGets or sets the leaf node image tooltip.  
Public PropertyLeafNodeImageUrlGets or sets the image URL for leaf level nodes.  
Public PropertyLoadOnDemandGets or sets the load on demand.  
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyParentNodeImageClassGets or sets the parent node image class.  
Public PropertyParentNodeImageTooltipGets or sets the parent node image tooltip.  
Public PropertyParentNodeImageUrlGets or sets the image URL for images with children.  
Public PropertyPathSeparatorGets or sets the path separator character.  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyResponseDataKeyGets or sets the response data key.  
Public PropertyResponseDataTypeGets or sets the type of the response data.  
Public PropertySingleBranchExpandGets or sets the single branch expand for the igTree.  
Public PropertyUpdateUrlGets or sets the update URL.  
Public PropertyWidthGets or sets the width of the igTree container.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub