Version 22.2

PopoverModel Class Properties

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

Public Properties
 NameDescription
Public PropertyAnimationDurationGets/sets the time popover fades in and out when showing/hiding.  
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 PropertyCloseOnBlurControls whether the popover will close on blur or not  
Public PropertyContainmentSets the containment for the popover. Accepts a jQuery object.  
Public PropertyContentTemplateDefines a contentTemplate for the popover control. Used especially when selectors are set.  
Public PropertyDirectionControls the direction in which the control shows relative to the target element. "auto" lets the control show on the side where enough space is available with the priority specified in DirectionPriority  
Public PropertyDirectionPriorityControls the priority in which the control searches for space to show relative to the target element. This property has effect only if the Direction property value is PopoverDirection.Auto or unset.  
Public PropertyHeaderTemplateDefines a headerTemplate for the popover control. Controls whether the popover renders a functional close button and sets the content for the popover header  
Public PropertyHeightGets/sets the Height for the popover. Leave null for auto.  
Public PropertyHtmlAttributesSets custom attributes of the container on which the Popover widget will be instantiated.  
Public PropertyIDSets the ID of the Popover element  
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyMaxHeightDefines height the popover won't exceed even if no specific one is set.  
Public PropertyMaxWidthDefines width the popover won't exceed even if no specific one is set.  
Public PropertyPositionControls the position of the tooltip according to the target element. "auto" lets the control choose a position depending on available space with the following priority balanced > end > start.  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertySelectorsA selector indicating which items should show tooltips. The predefined value is [title].  
Public PropertyShowOnSets the event on which the tooltip will be shown. Predefined values are "mouseenter", "click" and "focus"  
Public PropertyWidgetIdBaseThe base string that will be used to auto-generate ID of the widget if the ID option is not set.  
Public PropertyWidgetNameThe name of the widget this model will instantiate.  
Public PropertyWidthGets/sets the Width for the popover. Leave null for auto.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub