Version 20.1

CheckBoxEditorModel Class Properties

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

Public Properties
 NameDescription
Public PropertyAllowNullValueSets gets ability to prevent null value. If that option is false, and editor has no value, then value is set to an empty string. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyCheckedGets/sets the checked state of the check box. If no explicit Value is defined, then the submitted value will also match the check state.  
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 PropertyDisabledSets the disabled attribute.Does not allow editing. Disables all the buttons and iteracitons applied.

On submit the current value is not sent into the request.

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyHeightSets initial height of editor.

Number and valid html size-units can be used.

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyHtmlAttributesSets custom attributes for main html element used by control

Dictionary of attributes passed to TagBuilder.MergeAttributes(value).

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyIconClassGets/sets the checkbox jQuery UI Icon class name. Classes that can be used http://api.jqueryui.com/theming/icons/  
Public PropertyIDSets the ID of the editor. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyInputNameSets the name of the HTML input used to store and submit the editor value. Optional.

Will override the existing name attribute if intialized on an input.

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
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 PropertyNullValueSets gets the representation of null value. Can be either string or numeric. Default is null. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyReadOnlySets the readonly attribute. Does not allow editing. Disables all the buttons and iteracitons applied.

On submit the current value is sent into the request.

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertySizeSets the checkbox size to one of the predefined styles.  
Public PropertyTabIndexGets sets value in tabIndex for editor. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyValidatorOptionsSets options supported by the igValidator widget. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyValueGets sets value in editor. The effect of setting/getting that option depends on type of editor and on dataMode options. That can be string, number or Date depending on type of editor. (Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Public PropertyWidgetIdBaseOverridden. The base ID 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 to be instantiated.  
Public PropertyWidthSets initial width of editor.

Number and valid html size-units can be used.

(Inherited from Infragistics.Web.Mvc.BaseEditorModel)
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub