Version 20.1

HtmlEditorModel Class Properties

For a list of all members of this type, see HtmlEditorModel 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 PropertyCustomToolbarsAn array of custom toolbar objects.  
Public PropertyHeightSet the height of the control.  
Public PropertyHtmlAttributesSets custom attributes of the div on which the HtmlEditor widget will be created.  
Public PropertyIDSet the ID of the div on which the VideoPlayer widget will be created.  
Public PropertyInputNameGets or sets the name of the input field. This property is used only by MVC wrapper.  
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 PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyShowCopyPasteToolbarShows and hides the Copy Paste Toolbar.  
Public PropertyShowFormattingToolbarShows and hides the Formatting Toolbar.  
Public PropertyShowInsertObjectToolbarShows and hides the Insert Object Toolbar.  
Public PropertyShowTextToolbarShows and hides the Text Toolbar.  
Public PropertyToolbarSettingsAn array of settings for the default toobars.  
Public PropertyValueGets or sets the value. This property is used only by MVC wrapper  
Public PropertyWidthSet the width of the control.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub