The following tables list the members exposed by MaskEditorModel.
Name | Description | |
---|---|---|
MaskEditorModel Constructor |
Name | Description | |
---|---|---|
AllowNullValue | Sets 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) | |
ButtonType | Sets option to show drop-down or spin buttons. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ClientEvents | Set 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) | |
DataMode | Sets data mode. That affects the get/set value method and paste operation. | |
Disabled | Sets 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) | |
DropDownAnimationDuration | Gets sets show/hide drop-down list animation duration in milliseconds. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
DropDownAttachedToBody | Sets gets location of drop-down list. Value false will create html element for list as a child of main html element. Value true creates list as a child of body. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
DropDownOnReadOnly | Sets the ability to limit the editor to be used only as a dropdown list. When set to true the editor input is not editable. Note: In case there are no list items - the editor will remain readonly (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
DropDownOrientation | Sets opening orientation for the drop down list. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
EmptyCharacter | Sets the character which is used as replacement of not-filled required position in mask when application calls get for the "value" or for the "text" methods. Default is the '*' char. | |
ExcludeKeys | Sets gets ability to prevent entering specific characters from keyboard or on paste.
Notes: If a character is specified in "includeKeys" option also, then "excludeKeys" has priority Letters should be set in upper case. Making difference between upper and lower case is not supported. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
Height | Sets initial height of editor.
Number and valid html size-units can be used. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
HtmlAttributes | Sets custom attributes for main html element used by control
Dictionary of attributes passed to TagBuilder.MergeAttributes(value). (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
ID | Sets the ID of the editor. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
IncludeKeys | Sets gets ability to enter only specific characters in input-field from keyboard and on paste.
Notes: If "excludeKeys" option contains same characters as this option, then "excludeKeys" has priority. Letters should be set in upper case. Making difference between upper and lower case is not supported. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
InputMask | Sets gets input mask. Mask may include filter-flags and literal characters. | |
InputName | Sets 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) | |
IsLimitedToListValues | Sets the ability to allow values only set into the list items. This validation is done only when the editor is blurred, or enter key is pressed (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
Language | Gets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
ListItemHoverDuration | (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ListItems | Sets list of items used for drop-down list and for filtering keyboard entries. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ListWidth | Sets gets custom width of drop-down list in pixels. If value is equal to 0 or negative, then the width of editor is used. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
Locale | Sets strings used for button titles. Note: Locale properties take priority over those defined in $.ig.Editor.locale in localization script files. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
MaxLength | Sets gets maximum length of text which can be entered by user. Negative values or 0 disables that behavior. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
NullValue | Sets gets the representation of null value. Can be either string or numeric. Default is null. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
PadCharacter | Sets the character which is used as replacement of not-filled required position in mask when editor is in display mode (not focused). Default is the '^' char. | |
PlaceHolder | Sets gets text which appears in editor when editor has no focus and "value" in editor is null or empty string. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
PreventSubmitOnEnter | Sets the ability of the editor to prevent form submission on enter key pressed. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ReadOnly | Sets 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) | |
Regional | Sets gets custom regional settings for editor. Note: If it is string, then $.ig.regional[stringValue] is assumed and should be availble on the client. | |
RevertIfNotValid | Sets the editor to revert value to previous value in case of not valid value on blur, or enter key. If set to false clear is called. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
SelectionOnFocus | Sets type of selection when editor gets focus. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
SpinWrapAround | Enables circular spin: after the last item is list, the first item in list is used as next item. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
SuppressKeyboard | Gets/Sets whether the onscreen keyboard (if available on device) should be shown when the dropdown button is clicked/tapped. This option prevents initial focus or removes it when the drop button is clicked/tapped. Note: The option does not perform device detection so its behavior is always active if enabled. Note: When drop down is opened the only way to close it will be using the drop down button (this is not valid for the DatePicker). (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
SuppressNotifications | Disables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
TabIndex | Gets sets value in tabIndex for editor. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
TextAlign | Sets text alignment in editor. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
TextMode | Sets gets text mode of editor such as: single-line text editor, password editor or multiline editor. If based element (selector) is TEXTAREA, then it is used as input-field. If based element is INPUT, then it is used as input-field. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ToLower | Sets gets ability to convert input characters to lower case (true) or keeps characters as they are (false). That option has effect only while keyboard entries and paste. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
ToUpper | Sets gets ability to convert input characters to upper case (true) or keeps characters as they are (false). That option has effect only while keyboard entries and paste. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
UnfilledCharsPrompt | Sets the character which is used as prompt in edit mode for available entry position. Default is the '_' char. | |
ValidatorOptions | Sets options supported by the igValidator widget. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) | |
Value | Gets 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) | |
VisibleItemsCount | Gets sets how many items should be shown at once.
Notes: That option is overwritten if the number of list items is less than the value. In that case the height of the dropdown is adjusted to the number of items. (Inherited from Infragistics.Web.Mvc.TextEditorModel) | |
WidgetIdBase | Overridden. The base string that will be used to auto-generate ID of the widget if the ID option is not set. | |
WidgetName | Overridden. The name of the widget this model will instantiate. | |
Width | Sets initial width of editor.
Number and valid html size-units can be used. (Inherited from Infragistics.Web.Mvc.BaseEditorModel) |
Name | Description | |
---|---|---|
Store | Return the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase) |
Name | Description | |
---|---|---|
AddClientEvent | Adds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
ToJson | Serializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase) |
Name | Description | |
---|---|---|
Camelize | Converts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
EnsureClientEvents | Adds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
GetBool | Gets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetChar | Sets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDateTime | Gets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDouble | Gets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetIEnumerable<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) | |
GetInt | Gets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetJSLiteral | Sets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetLong | Gets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetModel<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) | |
GetString | Gets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetStringEnum<T> | Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValue<T> | Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValueModel<T> | Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromBool | Serializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDateTime | Serializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDouble | Serializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromFloat | Serializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIDictionary | Serializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIEnumerable | Serializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromInt | Serializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromModelStore | Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
JsonFromObject | Serializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromString | Serializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetBool | Sets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetBrush | (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetCamelizedStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetChar | Gets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDateTime | Sets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDouble | Sets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetIEnumerable<T> | Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetInt | Sets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetJSLiteral | Gets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetLong | Sets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetModel<T> | Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetString | Sets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetValue<T> | Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
TransformData | Transforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
ValidValueType<T> | Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase) |
View on GitHub