Version

NotifierModel Class Members

The following tables list the members exposed by NotifierModel.

Public Constructors
 NameDescription
Public ConstructorNotifierModel Constructor  
Public Properties
 NameDescription
Public PropertyAllowCSSOnTargetAllows setting the respective state CSS on the target element (used to apply border color by default)  
Public PropertyAnimationDurationGets/sets the time popover fades in and out when showing/hiding. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyAnimationSlideDistanceGets or sets the distance in pixels a notification popover slides outwards as it's shown. Default is 5.  
Public PropertyAppendToControls where the popover DOM should be attached to (only applies to popovers). Should be a valid jQuery selector for the element. Default is "body"  
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 (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyContainmentSets the containment for the popover. Accepts a jQuery object. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyContentTemplateDefines a contentTemplate for the popover control. Used especially when selectors are set. (Inherited from Infragistics.Web.Mvc.PopoverModel)
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 PopoverModel.DirectionPriority (Inherited from Infragistics.Web.Mvc.PopoverModel)
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 PopoverModel.Direction property value is PopoverDirection.Auto or unset. (Inherited from Infragistics.Web.Mvc.PopoverModel)
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 (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyHeightGets/sets the Height for the popover. Leave null for auto. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyHtmlAttributesSets custom attributes of the container on which the Popover widget will be instantiated. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyIDSets the ID of the Popover element (Inherited from Infragistics.Web.Mvc.PopoverModel)
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. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyMaxWidthDefines width the popover won't exceed even if no specific one is set. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyMessagesA set of default messages for each state.  
Public PropertyModeControls the positioning mode of messages. Default is auto which uses popover for info and warning messages and inline for errors and success.  
Public PropertyNotifyLevelControls the level of notifications shown by automatic and manual messages using the notify() method. Default is success.  
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. (Inherited from Infragistics.Web.Mvc.PopoverModel)
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]. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyShowIconAllows rendering a span with the respective state CSS to display jQuery UI framework icons. Default is false.  
Public PropertyShowOnSets the event on which the tooltip will be shown. Predefined values are "mouseenter", "click" and "focus" (Inherited from Infragistics.Web.Mvc.PopoverModel)
Public PropertyStateGets or sets the current state of the igNotifier messages. Default is info. State controls what CSS classes are applied to the messages and target and has interactions with other options as well.  
Public PropertyWidgetIdBaseOverridden. The base string that will be used to auto-generate ID of the widget if the ID option is not set.  
Public PropertyWidgetNameOverridden. The name of the widget this model will instantiate.  
Public PropertyWidthGets/sets the Width for the popover. Leave null for auto. (Inherited from Infragistics.Web.Mvc.PopoverModel)
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
Public Methods
 NameDescription
Public MethodAddClientEventAdds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public MethodToJsonSerializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected Methods
 NameDescription
Protected MethodCamelizeConverts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodEnsureClientEventsAdds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodGetBoolGets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetCharSets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDateTimeGets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDoubleGets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIEnumerable<T>Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIntGets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetJSLiteralSets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetLongGets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetModel<T>Gets the value of an IModel property of the model. If the value is null a new model of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringGets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringEnum<T>Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValue<T>Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValueModel<T>Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromBoolSerializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDateTimeSerializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDoubleSerializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromFloatSerializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIDictionarySerializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIEnumerableSerializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIntSerializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromModelStoreSerializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodJsonFromObjectSerializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromStringSerializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBoolSets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBrush (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCamelizedStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCharGets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDateTimeSets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDoubleSets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIEnumerable<T>Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIntSets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetJSLiteralGets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetLongSets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetModel<T>Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringSets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetValue<T>Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodTransformDataTransforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodValidValueType<T>Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub