Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.TimeField Class Reference

Provides a time input field with a time dropdown and automatic time validation. More...

Inheritance diagram for Ext.Net.TimeField:
Ext.Net.PickerField Ext.Net.TextFieldBase Ext.Net.Field Ext.Net.INoneContentable Ext.Net.IAjaxPostBackEventHandler Ext.Net.IIcon Ext.Net.IField Ext.Net.IToolbarItem Ext.Net.IXPostBackDataHandler Ext.Net.IAutoPostBack Ext.Net.ComponentBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 TimeField ()
 
void SetMaxTime (TimeSpan time)
 Replaces any existing maxValue with the new time and refreshes the picker's range. More...
 
void SetMinTime (TimeSpan time)
 Replaces any existing minValue with the new time and refreshes the picker's range. More...
 
TimeField.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 TimeField (Config config)
 
- Public Member Functions inherited from Ext.Net.PickerField
virtual void Expand ()
 Expand this field's picker dropdown. More...
 
virtual void Collapse ()
 Collapse this field's picker dropdown. More...
 
virtual void SetHideBaseTrigger (bool hideTrigger)
 Sets the value of hideBaseTrigger. More...
 
- Public Member Functions inherited from Ext.Net.TextFieldBase
virtual void SetAutoHideInputMask (bool? autoHideInputMask)
 Sets the value of autoHideInputMask. More...
 
virtual void SetInputMask (TextFieldInputMask inputMask)
 Sets the value of inputMask. More...
 
virtual void SetInputMask (string inputMask)
 Sets the value of inputMask. More...
 
virtual void SetInputMask (object inputMask)
 Sets the value of inputMask. More...
 
void AddButton (ButtonBase button, string side)
 Adds a trigger button to the text field in the specified side. More...
 
void AddButton (ButtonBase button)
 Adds a trigger button to the text field. More...
 
virtual void Append (string text)
 Appends the specified text to the text field's value. More...
 
virtual void AutoSize ()
 Automatically grows the field to accomodate the width of the text up to the maximum field width allowed. This only takes effect if grow = true, and fires the autosize event if the width changes. More...
 
virtual void SelectText ()
 Selects text in this field More...
 
virtual void SelectText (int start)
 Selects text in this field More...
 
virtual void SelectText (int start, int end)
 Selects text in this field More...
 
virtual void SelectText (int start, int end, TextSelectDirection direction)
 Selects text in this field in the specified select direction. More...
 
virtual void SetEditable (bool value)
 Sets the editable state of this field. More...
 
virtual void SetEmptyText (string emptyText)
 Sets the default text to place into an empty field More...
 
virtual void SetHideTrigger (bool hideTrigger)
 Sets the value of hideTrigger. More...
 
virtual void SetText (string text)
 Alias for SetValue(text). More...
 
virtual void ConcealTrigger (int index)
 Hides a trigger More...
 
virtual void ConcealTrigger (string tag)
 Hides a trigger More...
 
virtual void ShowTrigger (int index)
 Shows a trigger More...
 
virtual void ShowTrigger (string tag)
 Shows a trigger More...
 
- Public Member Functions inherited from Ext.Net.Field
virtual void Clear ()
 Clears the Field value. More...
 
virtual void CheckChange ()
 Checks whether the value of the field has changed since the last time it was checked. If the value has changed, it: More...
 
virtual void CheckDirty ()
 Checks the isDirty state of the field and if it has changed since the last time it was checked, fires the dirtychange event. More...
 
virtual void ClearInvalid ()
 Clear any invalid styles/messages for this field. Note: this method does not cause the Field's validate or isValid methods to return true if the value does not pass validation. So simply clearing a field's errors will not necessarily allow submission of forms submitted with the Ext.form.action.Submit.clientValidation option set. More...
 
virtual void MarkInvalid ()
 Display one or more error messages associated with this field, using msgTarget to determine how to display the messages and applying invalidCls to the field's UI element. Note: this method does not cause the Field's validate or isValid methods to return false if the value does pass validation. So simply marking a Field as invalid will not prevent submission of forms submitted with the Ext.form.action.Submit.clientValidation option set. More...
 
virtual void MarkInvalid (string error)
 Display one or more error messages associated with this field, using msgTarget to determine how to display the messages and applying invalidCls to the field's UI element. Note: this method does not cause the Field's validate or isValid methods to return false if the value does pass validation. So simply marking a Field as invalid will not prevent submission of forms submitted with the Ext.form.action.Submit.clientValidation option set. More...
 
virtual void MarkInvalid (string[] errors)
 Display one or more error messages associated with this field, using msgTarget to determine how to display the messages and applying invalidCls to the field's UI element. Note: this method does not cause the Field's validate or isValid methods to return false if the value does pass validation. So simply marking a Field as invalid will not prevent submission of forms submitted with the Ext.form.action.Submit.clientValidation option set. More...
 
virtual void Reset ()
 Resets the current field value to the originally loaded value and clears any validation messages. More...
 
virtual void ResetOriginalValue ()
 Resets the field's originalValue property so it matches the current value. More...
 
virtual void SetFieldStyle (string style)
 Set the CSS style of the field input element. More...
 
virtual void SetActiveError (string msg)
 Sets the active error message to the given string. This replaces the entire error message contents with the given string. Also see setActiveErrors which accepts an Array of messages and formats them according to the activeErrorsTpl. Note that this only updates the error message element's text and attributes, you'll have to call doComponentLayout to actually update the field's layout to match. If the field extends Ext.form.field.Base you should call markInvalid instead. More...
 
virtual void UnsetActiveError ()
 Clears the active error message(s). Note that this only clears the error message element's text and attributes, you'll have to call doComponentLayout to actually update the field's layout to match. If the field extends Ext.form.field.Base you should call clearInvalid instead. More...
 
virtual void SetActiveErrors (string[] errors)
 Set the active error message to an Array of error messages. The messages are formatted into a single message string using the activeErrorsTpl. Also see setActiveError which allows setting the entire error contents with a single string. Note that this only updates the error message element's text and attributes, you'll have to call doComponentLayout to actually update the field's layout to match. If the field extends Ext.form.field.Base you should call markInvalid instead. More...
 
virtual void SetRawValue (object value)
 Sets the field's raw value directly, bypassing value conversion, change detection, and validation. To set the value with these additional inspections see setValue. More...
 
virtual void SetValue (object value)
 Sets a data value into the field and runs the change detection and validation. To set the value directly without these inspections see setRawValue. More...
 
virtual void SetNote (string note, bool encode)
 
virtual void ShowNote ()
 
virtual void HideNote ()
 
virtual void Validate ()
 Forces the field to be validated client side. More...
 
void RaiseAjaxPostBackEvent (string eventArgument, ParameterCollection extraParams)
 
virtual void ShowIndicator ()
 
virtual void HideIndicator ()
 
virtual void ClearIndicator ()
 
virtual void AlignIndicator ()
 
virtual void MarkAsValid ()
 this method is used with remote validation only More...
 
virtual void MarkAsValid (bool abortRequest)
 this method is used with remote validation only More...
 
void SetValidation (string validation)
 Sets the value of validation. More...
 
- Public Member Functions inherited from Ext.Net.ComponentBase
virtual void Bubble (string function)
 Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of function call will be the scope provided or the current component. The arguments to the function will be the args provided or the current component. If the function returns false at any point, the bubble is stopped. More...
 
virtual void Bubble (string function, string scope)
 Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of function call will be the scope provided or the current component. The arguments to the function will be the args provided or the current component. If the function returns false at any point, the bubble is stopped. More...
 
virtual void Bubble (string function, string scope, object[] args)
 Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of function call will be the scope provided or the current component. The arguments to the function will be the args provided or the current component. If the function returns false at any point, the bubble is stopped. More...
 
new virtual void Focus ()
 Try to focus this component. More...
 
virtual void Focus (bool selectText)
 Try to focus this component. More...
 
virtual void Focus (bool selectText, int delay)
 Try to focus this component. More...
 
virtual void Hide ()
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (string animateTarget)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (ComponentBase animateTarget)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (ComponentBase animateTarget, string callback)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (ComponentBase animateTarget, JFunction callback)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (string animateTarget, string callback)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (string animateTarget, JFunction callback)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (ComponentBase animateTarget, string callback, string scope)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (ComponentBase animateTarget, JFunction callback, string scope)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (string animateTarget, string callback, string scope)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void Hide (string animateTarget, JFunction callback, string scope)
 Hides this Component, setting it to invisible using the configured hideMode. More...
 
virtual void SetPagePosition (int x, int y)
 Sets the page XY position of the component. To set the left and top instead, use setPosition. This method fires the move event. More...
 
virtual void SetPagePosition (int x, int y, AnimConfig animate)
 Sets the page XY position of the component. To set the left and top instead, use setPosition. This method fires the move event. More...
 
virtual void SetPagePosition (int x, int y, int animate)
 Sets the page XY position of the component. To set the left and top instead, use setPosition. This method fires the move event. More...
 
virtual void SetPosition (int x, int y)
 Sets the left and top of the component. To set the page XY position instead, use setPagePosition. This method fires the move event. More...
 
virtual void SetPosition (int x, int y, AnimConfig animate)
 Sets the left and top of the component. To set the page XY position instead, use setPagePosition. This method fires the move event. More...
 
virtual void SetPosition (int x, int y, bool animate)
 Sets the left and top of the component. To set the page XY position instead, use setPagePosition. This method fires the move event. More...
 
virtual void ScrollTo (int x, int y)
 Scrolls this component to the specified x and y coordinates. Only applicable for components that have been configured with scrollable or overflowX and overflowY. More...
 
virtual void ScrollTo (int x, int y, bool animate)
 Scrolls this component to the specified x and y coordinates. Only applicable for components that have been configured with scrollable or overflowX and overflowY. More...
 
virtual void ScrollTo (int x, int y, AnimConfig animate)
 Scrolls this component to the specified x and y coordinates. Only applicable for components that have been configured with scrollable or overflowX and overflowY. More...
 
virtual void SetData (object data)
 Sets the value of the Data property. More...
 
virtual void SetHidden (bool hidden)
 Sets the hidden state of this component. This is basically the same as setVisible but the boolean parameter has the opposite meaning. More...
 
virtual void SetScrollable (ScrollableOption scrollable)
 Sets the new value of scrollable More...
 
virtual void SetScrollX (int x)
 Sets the "x" scroll position for this component. Only applicable for components that have been configured with scrollable or overflowX. More...
 
virtual void SetScrollY (int y)
 Sets the "y" scroll position for this component. Only applicable for components that have been configured with scrollable or overflowY. More...
 
virtual ComponentBase SetStyle (JsonObject styles)
 Sets the style for this Component's primary element. More...
 
virtual ComponentBase SetStyle (string property, string value)
 Sets the style for this Component's primary element. More...
 
virtual void SetWeight (int weight)
 Sets the weight config property for this component. This is only valid if this component is in a border layout (Ext.layout.container.Border). More...
 
virtual void Show ()
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void Show (string animTarget)
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void Show (string animTarget, string callback)
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void Show (string animTarget, JFunction callback)
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void Show (string animTarget, string callback, string scope)
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void Show (string animTarget, JFunction callback, string scope)
 Shows this AbstractComponent, rendering it first if Ext.AbstractComponent-autoRender is true. For a Window, it activates it and brings it to front if hidden. More...
 
virtual void UpdateBox (Unit x, Unit y, Unit width, Unit height)
 Sets the current box measurements of the component's underlying element. More...
 
virtual void UpdateBox (int x, int y, int width, int height)
 Sets the current box measurements of the component's underlying element. More...
 
virtual void SetLoading (LoadMask load, bool targetEl)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
virtual void SetLoading (LoadMask load)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
void SetLoading (bool load)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
void SetLoading (bool load, bool targetEl)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
void SetLoading (string message)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
void SetLoading (string message, bool targetEl)
 This method allows you to show or hide a LoadMask on top of this component. More...
 
void SetOverflowXY (Overflow overflowX, Overflow overflowY)
 Sets the overflow x/y on the content element of the component. The x/y overflow values can be any valid CSS overflow (e.g., 'auto' or 'scroll'). By default, the value is 'hidden'. Passing null for one of the values will erase the inline style. Passing undefined will preserve the current value. More...
 
void ShowAt (int x, int y)
 Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu More...
 
void ShowAt (int x, int y, bool animate)
 Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu More...
 
void ShowAt (int x, int y, AnimConfig animate)
 Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu More...
 
- Public Member Functions inherited from Ext.Net.AbstractComponent
virtual T ConvertTag< T > ()
 
virtual void SetKeyMap (KeyBindItem keyMap)
 Adds a key mapping. More...
 
virtual void SetKeyMap (List< KeyBindItem > keyMap)
 Adds key mappings. More...
 
virtual void CallEl (string name, params object[] args)
 
virtual void AddCls (string cls)
 Adds a CSS class to the component's underlying element. More...
 
virtual void AddClsWithUI (string cls, bool skip)
 Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this component. More...
 
virtual void AddClsWithUI (string[] cls, bool skip)
 Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this component. More...
 
virtual void AddUIClsToElement (string cls)
 Method which adds a specified UI + uiCls to the components element. Can be overridden to remove the UI from more than just the components element. More...
 
virtual void AddContainerCls (string cls)
 Adds a CSS class to the component's container. More...
 
void AddLabelCls (string labelCls)
 Adds a CSS class to the component's label. More...
 
override void Destroy ()
 Destroys this component by purging any event listeners, removing the component's element from the DOM, removing the component from its Ext.Container (if applicable) and unregistering it from Ext.ComponentMgr. Destruction is generally handled automatically by the framework and this method should usually not need to be called directly. More...
 
virtual void Disable ()
 
virtual void Disable (bool silent)
 
virtual void DoAutoRender ()
 Handles autoRender. Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body More...
 
virtual void Enable ()
 
virtual void Enable (bool silent)
 
virtual void Mask ()
 
virtual void Mask (string msg)
 
virtual void Mask (string msg, string msgCls)
 
virtual void ToggleCls (string cls)
 Toggles the specified CSS class on this component (removes it if it already exists, otherwise adds it). More...
 
virtual void ToggleCls (string cls, bool state)
 Toggles the specified CSS class on this component (removes it if it already exists, otherwise adds it). More...
 
virtual void Unmask ()
 Removes the mask applied by a .mask() call More...
 
virtual void UpdateLayout ()
 
virtual void UpdateLayout (object options)
 
virtual void RemoveCls (string cls)
 Removes a CSS class from the top level element representing this component. More...
 
void RemoveLabelCls (string labelCls)
 Removes a CSS class from the component's label. More...
 
virtual void RemoveUIClsFromElement (string ui)
 Method which removes a specified UI + uiCls from the components element. The cls which is added to the element will be: this.baseCls + '-' + ui More...
 
virtual void SetDock (Dock dock)
 Sets the dock position of this component in its parent panel. Note that this only has effect if this item is part of the dockedItems collection of a parent that has a DockLayout (note that any Panel has a DockLayout by default) More...
 
virtual void SetHeight (Unit height)
 Sets the height of the component. This method fires the resize event. More...
 
virtual void SetHeight (int height)
 Sets the height of the component. This method fires the resize event. More...
 
virtual void SetHeight (string height)
 Sets the height of the component. This method fires the resize event. More...
 
virtual void SetMaxHeight (int maxHeight)
 Sets the value of maxHeight. More...
 
virtual void SetMaxWidth (int maxWidth)
 Sets the value of maxWidth. More...
 
virtual void SetMinHeight (int minHeight)
 Sets the value of minHeight. More...
 
virtual void SetMinWidth (int minWidth)
 Sets the value of minWidth. More...
 
virtual void SetSize (int width, int height)
 Sets the width and height of this AbstractComponent. This method fires the resize event. More...
 
virtual void SetSize (string width, string height)
 Sets the width and height of this AbstractComponent. This method fires the resize event. More...
 
virtual void SetTouchAction (object touchAction)
 Sets the value of touchAction. More...
 
void SetTpl (XTemplate tpl)
 Sets the new XTemplate for this AbstractComponent More...
 
virtual void SetWidth (Unit width)
 Sets the width of the component. This method fires the resize event. More...
 
virtual void SetWidth (int width)
 Sets the width of the component. This method fires the resize event. More...
 
virtual void SetWidth (string width)
 Sets the width of the component. This method fires the resize event. More...
 
virtual void Update (string html)
 Update the html of the Body, optionally searching for and processing scripts. More...
 
virtual void Update (string html, bool loadScripts)
 Update the html of the Body, optionally searching for and processing scripts. More...
 
virtual void Update (string html, bool loadScripts, string callback)
 Update the html of the Body, optionally searching for and processing scripts. More...
 
virtual void Update (string html, bool loadScripts, JFunction callback)
 Update the html of the Body, optionally searching for and processing scripts. More...
 
virtual void Update (object data)
 
virtual void DestroyContentWidgets ()
 
virtual void AddStateEvents (string events)
 Add events that will trigger the state to be saved. More...
 
virtual void AddStateEvents (string[] events)
 Add events that will trigger the state to be saved. More...
 
virtual void DoAnimation (AnimConfig cfg)
 
virtual void SequenceFx ()
 
virtual void StopAnimation ()
 
virtual void SyncFx ()
 
virtual void AlignTo (string element, string position, int xOffset, int yOffset)
 Aligns this floating AbstractComponent to the specified element More...
 
virtual void AlignTo (string element, string position)
 Aligns this floating AbstractComponent to the specified element More...
 
virtual void AlignTo (string element)
 Aligns this floating AbstractComponent to the specified element More...
 
virtual void Center ()
 Center this AbstractComponent in its container. More...
 
virtual void DoConstrain ()
 Moves this floating AbstractComponent into a constrain region. By default, this AbstractComponent is constrained to be within the container it was added to, or the element it was rendered to. More...
 
virtual void DoConstrain (string element)
 Moves this floating AbstractComponent into a constrain region. By default, this AbstractComponent is constrained to be within the container it was added to, or the element it was rendered to. More...
 
virtual void DoConstrain (Rectangle region)
 Moves this floating AbstractComponent into a constrain region. By default, this AbstractComponent is constrained to be within the container it was added to, or the element it was rendered to. More...
 
virtual void SetActive ()
 Makes this the active AbstractComponent by showing its shadow, or deactivates it by hiding its shadow. This method also fires the activate or deactivate event depending on which action occurred. This method is called internally by Ext.ZIndexManager. More...
 
virtual void SetActive (bool active)
 Makes this the active AbstractComponent by showing its shadow, or deactivates it by hiding its shadow. This method also fires the activate or deactivate event depending on which action occurred. This method is called internally by Ext.ZIndexManager. More...
 
virtual void SetAlwaysOnTop (bool alwaysOnTop)
 Sets the value of alwaysOnTop. More...
 
virtual void SetAlwaysOnTopIndex (int alwaysOnTopIndex)
 Sets the value of alwaysOnTop. More...
 
virtual void ToBack ()
 Sends this AbstractComponent to the back of (lower z-index than) any other visible windows More...
 
virtual void ToFront ()
 Brings this floating AbstractComponent to the front of any other visible, floating Components managed by the same ZIndexManager More...
 
virtual void ToFront (bool preventFocus)
 Brings this floating AbstractComponent to the front of any other visible, floating Components managed by the same ZIndexManager More...
 
virtual void EnsureLoadPostData ()
 
virtual void ApplyStyles (string styles)
 More flexible version of setStyle for setting style properties. More...
 
virtual void RemoveContainerCls (string cls)
 Removes a CSS class from the component's container. More...
 
virtual void SetAnchor (string anchor, bool doLayout)
 
void Replace (string id)
 
void Replace (AbstractComponent cmp)
 
void ReRender ()
 
- Public Member Functions inherited from Ext.Net.Observable
virtual void AddListener (string eventName, JFunction fn)
 Appends an event handler to this component More...
 
virtual void AddListener (string eventName, JFunction fn, string scope)
 Appends an event handler to this component More...
 
virtual void AddListener (string eventName, JFunction fn, string scope, HandlerConfig options)
 Appends an event handler to this component More...
 
virtual void AddListener (string eventName, string fn)
 Appends an event handler to this component More...
 
virtual void AddListener (string eventName, string fn, string scope)
 Appends an event handler to this component More...
 
virtual void AddListener (string eventName, string fn, string scope, HandlerConfig options)
 Appends an event handler to this component More...
 
virtual void AddManagedListener (string item, string eventName, string fn, string scope, HandlerConfig options)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void AddManagedListener (string item, string eventName, string fn, string scope)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void AddManagedListener (string item, string eventName, string fn)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void ClearListeners ()
 Removes all listeners for this object including the managed listeners More...
 
virtual void ClearManagedListeners ()
 Removes all managed listeners for this object. More...
 
virtual void EnableBubble (params string[] events)
 Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if present. There is no implementation in the Observable base class. This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.AbstractComponent-getBubbleTarget. The default implementation in Ext.AbstractComponent returns the AbstractComponent's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly. More...
 
virtual void FireEvent (string eventName, params object[] args)
 Fires the specified event with the passed parameters (minus the event name) More...
 
virtual void FireEventedAction (string eventName, object[] args, string fn)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void FireEventedAction (string eventName, object[] args, string fn, string scope)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void FireEventedAction (string eventName, object[] args, string fn, string scope, object[] fnArgs)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void FireEventedAction (string eventName, object[] args, JFunction fn)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void FireEventedAction (string eventName, object[] args, JFunction fn, string scope)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void FireEventedAction (string eventName, object[] args, JFunction fn, string scope, object[] fnArgs)
 Fires the specified event with the passed parameters and executes a function (action). Evented Actions will automatically dispatch a 'before' event passing. This event will be given a special controller that allows for pausing/resuming of the event flow. By pausing the controller the updater and events will not run until resumed. Pausing, however, will not stop the processing of any other before events. More...
 
virtual void On (string eventName, string fn)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void On (string eventName, string fn, string scope)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void On (string eventName, string fn, string scope, HandlerConfig options)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void On (string eventName, JFunction fn)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void On (string eventName, JFunction fn, string scope)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void On (string eventName, JFunction fn, string scope, HandlerConfig options)
 Appends an event handler to this element (shorthand for addListener) More...
 
virtual void RelayEvents (string origin, string[] events)
 Relays selected events from the specified Observable as if the events were fired by this. More...
 
virtual void RemoveListener (string eventName, string fn)
 Removes an event handler. More...
 
virtual void RemoveListener (string eventName, string fn, string scope)
 Removes an event handler. More...
 
virtual void RemoveManagedListener (string item, string eventName, string fn)
 Removes listeners that were added by the mon method. More...
 
virtual void RemoveManagedListener (string item, string eventName, string fn, string scope)
 Removes listeners that were added by the mon method. More...
 
virtual void ResumeEvents ()
 Resume firing events. (see suspendEvents) If events were suspended using the queueSuspended parameter, then all events fired during event suspension will be sent to any listeners now. More...
 
virtual void SuspendEvents (bool queueSuspended)
 Suspend the firing of all events. (see resumeEvents) More...
 
virtual void SuspendEvents ()
 Suspend the firing of all events. (see resumeEvents) More...
 
virtual void SuspendEvent (string name)
 Suspends firing of the named event(s). More...
 
virtual void ResumeEvent (string name)
 Resumes firing of the named event(s). More...
 
virtual void RemoveDirectListener (string name)
 
virtual void Un (string eventName, string fn)
 Removes a listener (shorthand for removeListener) More...
 
virtual void Un (string eventName, string fn, string scope)
 Removes a listener (shorthand for removeListener) More...
 
virtual void Mon (Element el, string eventName, JFunction fn)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mon (Observable el, string eventName, JFunction fn)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mon (Element el, string eventName, JFunction fn, string scope)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mon (Observable el, string eventName, JFunction fn, string scope)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mon (Element el, string eventName, string fn, string scope, HandlerConfig options)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mon (Observable el, string eventName, string fn, string scope, HandlerConfig options)
 Adds listeners to any Observable object (or Element) which are automatically removed when this AbstractComponent is destroyed. More...
 
virtual void Mun (Element el, string eventName, string fn)
 Removes listeners that were added by the mon method. More...
 
virtual void Mun (Observable el, string eventName, string fn)
 Removes listeners that were added by the mon method. More...
 
virtual void Mun (Element el, string eventName, string fn, string scope)
 Removes listeners that were added by the mon method. More...
 
virtual void Mun (Observable el, string eventName, string fn, string scope)
 Removes listeners that were added by the mon method. More...
 
delegate void OnBeforeClientInitializedHandler (Observable sender)
 
delegate void OnAfterClientInitializedHandler (Observable sender)
 
- Public Member Functions inherited from Ext.Net.BaseControl
virtual bool HasExplicitValue (string name)
 
virtual T ToBuilder< T > ()
 
Apply< T > (IApply config)
 
object Apply (IApply config)
 
BaseControl Apply (object from, bool ignoreDefaultValues)
 
BaseControl Apply (object from)
 
virtual bool HasLayout ()
 
virtual bool HasContent ()
 
virtual string ResolveUrlLink (string url)
 
bool IsInHierarchy (params Type[] types)
 
GetParentByLevel< T > (int level)
 
virtual string DefineInstance ()
 
virtual string DefineInstance (string config)
 
virtual string DefineInstance (string instanceOf, string config)
 
virtual string ToConfig ()
 
virtual string ToConfig (LazyMode mode)
 
virtual string ToConfig (LazyMode mode, bool registerResourcesInManager)
 
virtual string ToScript (bool selfRendering)
 
virtual string ToScript ()
 
string ToScript (RenderMode mode, string element)
 
string ToScript (RenderMode mode, string element, bool selfRendering)
 
string ToScript (RenderMode mode, string element, int index)
 
string ToScript (RenderMode mode, string element, int index, bool selfRendering)
 
string ToScript (RenderMode mode, string element, int? index, bool? selfRendering, bool forceResources, string method, bool forceLazy, bool clearContainer)
 
virtual void AddScript (string script)
 Adds the script to be be called on the client. More...
 
virtual void AddScript (string template, params object[] args)
 Adds the script to be be called on the client. The script is formatted using the template and args. More...
 
virtual void Set (string name, object value)
 
virtual void Set (ScriptPosition position, string name, object value)
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void Call (string name, string[] arg)
 Calls the JavaScript function on the Control with a string[] parameter More...
 
virtual void Call (ScriptPosition mode, string name, params object[] args)
 
virtual string SelfRender ()
 
virtual void AddBeforeClientInitScript (string script)
 Adds the script directly before the ClientInitScript. More...
 
virtual void AddAfterClientInitScript (string script)
 Adds the script directly after the ClientInitScript. More...
 
override void RenderBeginTag (HtmlTextWriter writer)
 
virtual void Render (bool selfRendering)
 
virtual void Render (Control control)
 
virtual void Render ()
 
virtual void Render (string element, RenderMode mode)
 
virtual void Render (string element, int index, RenderMode mode)
 
virtual void Render (Control control, RenderMode mode)
 
virtual void Render (Control control, int index, RenderMode mode)
 
virtual void Render (string element, RenderMode mode, bool selfRendering)
 
virtual void Render (string element, int index, RenderMode mode, bool selfRendering)
 
virtual void Render (RenderMode mode, string element, int? index, bool? selfRendering, bool forceResources, string method, bool forceLazy, bool clearContainer)
 
virtual void Render (Control control, RenderMode mode, bool selfRendering)
 
virtual void Render (Control control, int index, RenderMode mode, bool selfRendering)
 
virtual void AddTo (string element)
 
virtual void AddTo (Control control)
 
virtual void AddTo (string element, bool selfRendering)
 
virtual void AddTo (Control control, bool selfRendering)
 
virtual void InsertTo (int index, string element)
 
virtual void InsertTo (int index, Control control)
 
virtual void InsertTo (int index, string element, bool selfRendering)
 
virtual void InsertTo (int index, Control control, bool selfRendering)
 
virtual void Update ()
 
virtual bool SuspendScripting ()
 
virtual void ResumeScripting (bool oldValue)
 
virtual void ResumeScripting ()
 
List< T > GetCustomResources< T > ()
 
virtual void SetResources ()
 
List< ClientStyleItemGetStyles ()
 
List< ClientStyleItemGetThemes ()
 
List< ClientScriptItemGetScripts ()
 
string GetGeneratedScripts ()
 Get generated and added javascript methods calling More...
 
virtual bool HasOwnState (string name)
 
virtual void SetControlFor (ModelMetadata meta)
 

Static Public Member Functions

static implicit operator TimeField (TimeField.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseControl
static string GenerateID ()
 
static object Apply (object to, object from)
 
static object Apply (object to, object from, bool ignoreDefaultValues)
 

Protected Member Functions

override bool LoadPostData (string postDataKey, NameValueCollection postCollection)
 
override void SetModelValue (object value, ModelMetadata meta)
 
override void SetModelValidationRule (ModelClientValidationRule rule)
 
- Protected Member Functions inherited from Ext.Net.PickerField
virtual void OnValueChanged (EventArgs e)
 
virtual void OnItemSelected (EventArgs e)
 
override void OnBeforeClientInit (Observable sender)
 
void InitPostBack ()
 
override void RaisePostDataChangedEvent ()
 
- Protected Member Functions inherited from Ext.Net.TextFieldBase
virtual void SetIconCls (string cls)
 Sets the CSS class that provides a background image to use as the button's icon. This method also changes the value of the iconCls config internally. More...
 
virtual void SetIconCls (Icon icon)
 Sets the CSS class that provides a background image to use as the button's icon. This method also changes the value of the iconCls config internally. More...
 
virtual void Buttons_AfterItemAdd (AbstractComponent item)
 
virtual void Buttons_AfterItemRemove (AbstractComponent item)
 
virtual void OnTextChanged (EventArgs e)
 
override void RaisePostDataChangedEvent ()
 
void SetMaskRe (string maskRe)
 Sets an input mask regular expression that will be used to filter keystrokes that don't match. More...
 
void SetRegex (string regex)
 Sets a JavaScript RegExp object to be tested against the field value during validation. If the test fails, the field will be marked invalid using either regexText or invalidText. More...
 
void SetStripCharsRe (string stripCharsRe)
 Sets A JavaScript RegExp object used to strip unwanted content from the value during input. If stripCharsRe is specified, every character sequence matching stripCharsRe will be removed. More...
 
override void OnMetadataProcess (ModelMetadata meta, string name, ViewDataDictionary viewData, ControllerContext context)
 
- Protected Member Functions inherited from Ext.Net.Field
virtual void SetReadOnly (bool value)
 Sets the read only state of this field. More...
 
virtual void SetValueProxy (object value)
 Sets a data value into the field and runs the change detection and validation. To set the value directly without these inspections see setRawValue. More...
 
virtual void SetRawValueProxy (object value)
 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see setValue. More...
 
virtual void SetNoteCls (string cls)
 
virtual void SetNote (string note)
 
virtual void SetIndicatorIconCls (string cls)
 
virtual void SetIndicatorIconCls (Icon icon)
 
virtual void SetIndicatorCls (string cls)
 
virtual void SetIndicatorText (string text)
 
virtual void SetIndicatorTip (string tip)
 
virtual void SetFieldLabel (string label)
 Set the label of this field. More...
 
override void SetModelAdditionalValue (KeyValuePair< string, object > value)
 
- Protected Member Functions inherited from Ext.Net.AbstractComponent
virtual List< ResourceItemRegisterUIResources (List< ResourceItem > list)
 
void SetTag (object tag)
 
virtual void Bind_AfterItemAdd (Parameter item)
 
virtual void AfterPluginAdd (Plugin plugin)
 
virtual void AfterPluginRemove (Plugin plugin)
 
override void OnInit (EventArgs e)
 
virtual void SetUI (UI ui)
 Sets the UI for the component. This will remove any existing UIs on the component. It will also loop through any uiCls set on the component and rename them so they include the new UI More...
 
virtual void SetUIName (string ui)
 Sets the UI for the component. This will remove any existing UIs on the component. It will also loop through any uiCls set on the component and rename them so they include the new UI More...
 
virtual void AfterBinItemAdd (Observable item)
 
override object SaveViewState ()
 
override void OnLoad (EventArgs e)
 
override void PagePreLoad (object sender, EventArgs e)
 
override void OnPreRender (EventArgs e)
 
virtual void SetAnchor (string anchor)
 
void SetBorder (bool? border)
 
void SetBorderSpec (string border)
 
- Protected Member Functions inherited from Ext.Net.Observable
override void OnInit (EventArgs e)
 
virtual void RegisterCustomAttribute (string key, string value)
 
virtual void OnAfterClientInit (Observable sender)
 
virtual void OnBeforeClientInitHandler ()
 
virtual void OnAfterClientInitHandler ()
 
override void OnPreRender (EventArgs e)
 
override void PreRenderAction ()
 
virtual void AfterItemAdd (Observable item)
 
virtual void AfterItemRemove (Observable item)
 
override void SetModelAdditionalValue (KeyValuePair< string, object > value)
 
- Protected Member Functions inherited from Ext.Net.BaseControl
virtual string GetNamespace (bool parseDot)
 
virtual string AddNamespaceToID (string id)
 
virtual ContentContainer CreateContainer ()
 
virtual void CheckForceId ()
 
virtual string ParseTarget (string target)
 
Unit UnitPixelTypeCheck (object obj, Unit defaultValue, string propertyName)
 
virtual void CallTemplate (string template)
 
virtual void CallTemplate (string template, string name, params object[] args)
 
virtual void CallTemplate (ScriptPosition position, string template, string name, params object[] args)
 
override void OnInit (EventArgs e)
 
virtual void PageLoad (object sender, EventArgs e)
 
virtual void PageLoadComplete (object sender, EventArgs e)
 
override void AddAttributesToRender (HtmlTextWriter writer)
 
virtual void SimpleRender (HtmlTextWriter writer)
 
virtual void RecreateChildControls ()
 
override void CreateChildControls ()
 
override void OnPreRender (EventArgs e)
 
virtual void RenderScript (string script)
 
override void OnDataBinding (EventArgs e)
 
override void Render (HtmlTextWriter writer)
 
virtual bool IsGlobalResourceRegistered (ResourceItem item)
 
virtual string FormatValue (object value, string format)
 

Properties

override string XType [get]
 
override string InstanceOf [get]
 
override object EmptyValue [get, set]
 The fields null value. More...
 
virtual TimeSpan EmptyTime [get, set]
 The fields null value. More...
 
TimeSpan? SelectedTime [get, set]
 
object SelectedValue [get, set]
 
override object Value [get, set]
 
virtual bool AutoSelect [get, set]
 true to automatically highlight the first result gathered by the data store in the dropdown list when it is opened. (Defaults to true). A false value would cause nothing in the list to be highlighted automatically, so the user would have to manually highlight an item before pressing the enter or tab key to select it (unless the value of (typeAhead) were true), or use the mouse to select a value. More...
 
virtual bool ForceSelection [get, set]
 true to restrict the selected value to one of the values in the list, false to allow the user to set arbitrary text into the field (defaults to false) More...
 
virtual bool GrowToLongestValue [get, set]
 false to not allow the component to resize itself when its data changes (and its grow property is true). Defaults to: true More...
 
virtual bool FireSelectOnLoad [get, set]
 True to fire select event after setValue on page load More...
 
virtual int MinChars [get, set]
 The minimum number of characters the user must type before autocomplete and typeAhead activate (defaults to 4 if queryMode = 'remote' or 0 if queryMode = 'local', does not apply if editable = false). More...
 
virtual bool TypeAhead [get, set]
 true to populate and autoselect the remainder of the text being typed after a configurable delay (typeAheadDelay) if it matches a known value (defaults to false) More...
 
virtual int TypeAheadDelay [get, set]
 The length of time in milliseconds to wait until the typeahead text is displayed if TypeAhead = true (defaults to 250). More...
 
virtual string ValueNotFoundText [get, set]
 When using a name/value combo, if the value passed to setValue is not found in the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined). If this default text is used, it means there is no value set and no validation will occur on this field. More...
 
virtual string AltFormats [get, set]
 Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined format (defaults to 'g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H|gi a|hi a|giA|hiA|gi A|hi A'). More...
 
virtual string? AltFormatsProxy [get]
 
virtual string Format [get, set]
 The default time format string which can be overriden for localization support. The format must be valid according to Ext.Date.parse (defaults to 'g:i A', e.g., '3:15 PM'). For 24-hour time format try 'H:i' instead. More...
 
virtual string? FormatProxy [get]
 
virtual int Increment [get, set]
 The number of minutes between each time value in the list (defaults to 15). More...
 
override string InvalidText [get, set]
 The error text to display when the time in the field is invalid (defaults to '{0} is not a valid time'). More...
 
virtual string MaxText [get, set]
 The error text to display when the entered time is after maxValue (defaults to 'The time in this field must be equal to or before {0}'). More...
 
virtual TimeSpan? MaxTime [get, set]
 The maximum allowed time. Can be either a Javascript date object with a valid time value or a string time in a valid format – see format and altFormats (defaults to undefined). More...
 
virtual string?? MaxTimeProxy [get]
 
virtual TimeSpan? MinTime [get, set]
 The minimum allowed time. Can be either a Javascript date object with a valid time value or a string time in a valid format – see format and altFormats (defaults to undefined). More...
 
virtual string?? MinTimeProxy [get]
 
virtual string MinText [get, set]
 The error text to display when the entered time is before minValue (defaults to 'The time in this field must be equal to or after {0}'). More...
 
virtual int PickerMaxHeight [get, set]
 The maximum height of the Ext.picker.Time dropdown. Defaults to 300. More...
 
virtual bool SelectOnTab [get, set]
 Whether the Tab key should select the currently highlighted item. Defaults to true. More...
 
virtual bool SnapToIncrement [get, set]
 Specify as true to enforce that only values on the increment boundary are accepted. Defaults to: false More...
 
virtual string SubmitFormat [get, set]
 The date format string which will be submitted to the server. The format must be valid according to Ext.Date.parse (defaults to format). More...
 
virtual string?? SubmitFormatProxy [get]
 
BoundList ListConfig [get, set]
 An optional set of configuration properties that will be passed to the Ext.view.BoundList's constructor. Any configuration that is valid for BoundList can be included. Some of the more useful ones are: More...
 
virtual int PageSize [get, set]
 If greater than 0, a Ext.toolbar.Paging is displayed in the footer of the dropdown list and the filter queries will execute with page start and limit parameters. Only applies when queryMode = 'remote' (defaults to 0). More...
 
virtual bool QueryCaching [get, set]
 When true, this prevents the combo from re-querying (either locally or remotely) when the current query is the same as the previous query. Defaults to: true More...
 
virtual int QueryDelay [get, set]
 The length of time in milliseconds to delay between the start of typing and sending the query to filter the dropdown list (defaults to 500 if queryMode = 'remote' or 10 if queryMode = 'local') More...
 
virtual DataLoadMode QueryMode [get, set]
 Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server). The mode in which the ComboBox uses the configured Store. Acceptable values are: More...
 
virtual string QueryParam [get, set]
 Name of the parameter used by the Store to pass the typed string when the ComboBox is configured with queryMode: 'remote' (defaults to 'query'). If explicitly set to a falsy value it will not be sent. More...
 
virtual TriggerAction TriggerAction [get, set]
 The action to execute when the trigger is clicked. 'all' : Default run the query specified by the allQuery config option 'query' : run the query using the raw value. See also queryParam. More...
 
ComboBoxListeners Listeners [get]
 Client-side JavaScript Event Handlers More...
 
ComboBoxDirectEvents DirectEvents [get]
 Server-side Ajax Event Handlers More...
 
ComponentDirectEvent.DirectEventHandler DirectChange
 Server-side DirectEvent handler. Method signature is (object sender, DirectEventArgs e). More...
 
ComponentDirectEvent.DirectEventHandler DirectSelect
 Server-side DirectEvent handler. Method signature is (object sender, DirectEventArgs e). More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.PickerField
virtual bool MatchFieldWidth [get, set]
 Whether the picker dropdown's width should be explicitly set to match the width of the field. Defaults to true. More...
 
virtual string OpenCls [get, set]
 A class to be added to the field's bodyEl element when the picker is opened. Defaults to 'x-pickerfield-open'. More...
 
virtual string? PickerAlign [get, set]
 The alignment position with which to align the picker. Defaults to "tl-bl?" See Ext.Net.Element.AlignTo(Ext.Net.Element, string, int[], bool) More...
 
virtual int[] PickerOffset [get, set]
 An offset [x,y] to use in addition to the pickerAlign when positioning the picker. Defaults to undefined. More...
 
EventHandler ValueChanged
 Fires when the Item property has been changed More...
 
EventHandler ItemSelected
 
PickerAutoPostBackEvent AutoPostBackEvent [get, set]
 
virtual string TriggerCls [get, set]
 An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and triggerCls will be appended if specified. More...
 
virtual TriggerIcon TriggerIcon [get, set]
 The icon to use in the trigger. More...
 
virtual string? TriggerIconClsProxy [get]
 
virtual bool HideBaseTrigger [get, set]
 true to hide base trigger More...
 
override ConfigOptionsCollectionConfigOptions [get]
 
- Properties inherited from Ext.Net.TextFieldBase
virtual bool AllowBlank [get, set]
 False to validate that the value length > 0 (defaults to true). More...
 
virtual bool AllowOnlyWhitespace [get, set]
 Specify false to automatically trim the value before validating the whether the value is blank. Setting this to false automatically sets AllowBlank to false. More...
 
virtual string BlankText [get, set]
 Error text to display if the allow blank validation fails (defaults to 'This field is required'). More...
 
virtual int ButtonsOffset [get, set]
 
virtual ItemsCollection< ButtonBaseLeftButtons [get]
 Buttons to the left of the text field. More...
 
virtual ButtonsShowMode LeftButtonsShowMode [get, set]
 
virtual ItemsCollection< ButtonBaseRightButtons [get]
 Buttons to the right of the text field. More...
 
virtual ButtonsShowMode RightButtonsShowMode [get, set]
 
virtual bool DisableKeyFilter [get, set]
 True to disable input keystroke filtering (defaults to false). More...
 
virtual bool Editable [get, set]
 false to prevent the user from typing text directly into the field; the field can only have its value set programmatically or via an action invoked by a trigger. More...
 
virtual string EmptyCls [get, set]
 The CSS class to apply to an empty field to style the emptyText (defaults to 'x-form-empty-field'). This class is automatically added and removed as needed depending on the current field value. More...
 
virtual string EmptyText [get, set]
 The default text to place into an empty field. Note that normally this value will be submitted to the server if this field is enabled; to prevent this you can set the submitEmptyText option of Ext.form.Basic.submit to false. Also note that if you use inputType:'file', emptyText is not supported and should be avoided. Note that for browsers that support it, setting this property will use the HTML 5 placeholder attribute, and for older browsers that don't support the HTML 5 placeholder attribute the value will be placed directly into the input element itself as the raw value. This means that older browsers will obfuscate the emptyText value for password input fields. Defaults to: '' More...
 
virtual bool EnableKeyEvents [get, set]
 True to enable the proxying of key events for the HTML input field (defaults to false) More...
 
virtual bool EnforceMaxLength [get, set]
 True to set the maxLength property on the underlying input field. Defaults to false More...
 
virtual bool Grow [get, set]
 True if this field should automatically grow and shrink to its content (defaults to false). More...
 
virtual int GrowMax [get, set]
 The maximum width to allow when grow = true (defaults to 800). More...
 
virtual int GrowMin [get, set]
 The minimum width to allow when grow = true (defaults to 30). More...
 
virtual bool HideTrigger [get, set]
 true to hide all triggers More...
 
virtual Icon Icon [get, set]
 The icon to use in the input field. See also, IconCls to set an icon with a custom Css class. More...
 
virtual string IconCls [get, set]
 A css class which sets a background image to be used as the icon for this field. More...
 
virtual string IconClsProxy [get]
 
virtual TextFieldInputMask InputMask [get, set]
 Provides a way for developers to define rules that govern user input. This ensures that data is submitted in an expected format and with the appropriate character set. More...
 
virtual string InputMaskString [get, set]
 Provides a way for developers to define rules that govern user input. This ensures that data is submitted in an expected format and with the appropriate character set. More...
 
virtual object InputMaskObject [get, set]
 Provides a way for developers to define rules that govern user input. This ensures that data is submitted in an expected format and with the appropriate character set. More...
 
virtual string InputWrapCls [get, set]
 The CSS class that is added to the element wrapping the input element. Defaults to: Ext.baseCSSPrefix + 'form-text-wrap'. More...
 
virtual string MaskRe [get, set]
 An input mask regular expression that will be used to filter keystrokes (character being typed) that do not match. Note: It dose not filter characters already in the input. More...
 
virtual int MaxLength [get, set]
 Maximum input field length allowed by validation (defaults to Number.MAX_VALUE). This behavior is intended to provide instant feedback to the user by improving usability to allow pasting and editing or overtyping and back tracking. To restrict the maximum number of characters that can be entered into the field use the enforceMaxLength option. More...
 
virtual string MaxLengthText [get, set]
 Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}'). More...
 
virtual int MinLength [get, set]
 Minimum input field length required (defaults to 0). More...
 
virtual string MinLengthText [get, set]
 Error text to display if the minimum length validation fails (defaults to 'The minimum length for this field is {minLength}'). More...
 
virtual string? RawText [get, set]
 Get or Set the RawValue as a string value. More...
 
virtual string Regex [get, set]
 A JavaScript RegExp object to be tested against the field value during validation (defaults to undefined). If the test fails, the field will be marked invalid using regexText. More...
 
virtual string RegexText [get, set]
 The error text to display if regex is used and the test fails during validation (defaults to ''). More...
 
virtual bool RemoveClearTrigger [get, set]
 If True, removes the clear trigger that appears by default for all input types in Internet Explorer 10+. Default value is False. More...
 
virtual bool RemoveShowPasswordTrigger [get, set]
 If True, removes the show password trigger that appears by default for password fields in Internet Explorer 10+. Default value is False. More...
 
virtual bool SelectOnFocus [get, set]
 True to automatically select any existing field text when the field receives input focus (defaults to false). More...
 
virtual string StripCharsRe [get, set]
 A JavaScript RegExp object used to strip unwanted content from the value during input. If stripCharsRe is specified, every character sequence matching stripCharsRe will be removed. More...
 
virtual string?? Text [get, set]
 The Text value to initialize this field with. More...
 
virtual bool RepeatTriggerClick [get, set]
 true to attach a click repeater to the trigger(s). Click repeating behavior can also be configured on the individual trigger instances using the trigger's repeatClick config. More...
 
virtual int TriggerIndexOnEnter [get, set]
 The index of a trigger to be "clicked" (the TriggerClick event fires) on Enter key by default if that trigger exists and visible. Defaults to -1, which means no one. More...
 
virtual string TriggerTagOnEnter [get, set]
 The tag of a trigger to be "clicked" (the TriggerClick event fires) on Enter key by default if that trigger exists and visible. More...
 
virtual string TriggerWrapCls [get, set]
 The CSS class that is added to the div wrapping the input element and trigger button(s). Defaults to: Ext.baseCSSPrefix + 'form-trigger-wrap'. More...
 
string TriggersProxy [get]
 A proxy to serialize Triggers More...
 
virtual bool ValidateBlank [get, set]
 Specify as true to modify the behaviour of AllowBlank so that blank values are not passed as valid, but are subject to any configure vtype validation. More...
 
override List< IconIcons [get]
 
override bool? IsEmpty [get]
 Gets a value indicating whether the Value is equal to EmptyValue. More...
 
EventHandler TextChanged
 Fires when the Text property has been changed. More...
 
virtual FieldTrigerCollection Triggers [get]
 Triggers to use in this field. The keys in this object are unique identifiers for the triggers. The values in this object are Trigger configuration objects. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.Field
override string XType [get]
 
virtual string??? UniqueName [get]
 
virtual bool AutoPostBack [get, set]
 TextBox_AutoPostBack More...
 
virtual string PostBackEvent [get, set]
 
virtual bool CausesValidation [get, set]
 Gets or sets a value indicating whether validation is performed when the control is set to validate when a postback occurs. More...
 
virtual string ValidationGroup [get, set]
 Gets or Sets the Controls ValidationGroup More...
 
virtual string ActiveError [get, set]
 If specified, then the component will be displayed with this value as its active error when first rendered. Defaults to undefined. Use setActiveError or unsetActiveError to change it after component creation. More...
 
virtual XTemplate ActiveErrorsTpl [get, set]
 The template used to format the Array of error messages passed to setActiveErrors into a single HTML string. By default this renders each message as an item in an unordered list. More...
 
virtual string AriaErrorText [get, set]
 Localized announcement text for validation errors. More...
 
virtual string AriaHelp [get, set]
 Optional text description for this object. More...
 
virtual bool AutoFitErrors [get, set]
 Whether to adjust the component's body area to make room for 'side' or 'under' error messages. Defaults to true. More...
 
virtual string BaseBodyCls [get, set]
 The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'. More...
 
virtual int CheckChangeBuffer [get, set]
 Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession. Defaults to 50 milliseconds. More...
 
virtual string[] CheckChangeEvents [get, set]
 A list of event names that will be listened for on the field's input element, which will cause the field's value to be checked for changes. If a change is detected, the change event will be fired, followed by validation if the validateOnChange option is enabled. More...
 
virtual string ClearCls [get, set]
 The CSS class used to to apply to the special clearing div rendered directly after each form field wrapper to provide field clearing (defaults to 'x-clear'). More...
 
virtual string DirtyCls [get, set]
 The CSS class to use when the field value is dirty. More...
 
virtual string ErrorMsgCls [get, set]
 The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'. More...
 
virtual string FieldBodyCls [get, set]
 An extra CSS class to be applied to the body content element in addition to baseBodyCls. Defaults to Ext.baseCSSPrefix + 'field-body'. More...
 
virtual string FieldCls [get, set]
 The default CSS class for the field input (defaults to 'x-form-field'). More...
 
virtual string FieldLabel [get, set]
 The label for the field. It gets appended with the labelSeparator, and its position and sizing is determined by the labelAlign, labelWidth, and labelPad configs. Defaults to undefined. More...
 
virtual string FieldStyle [get, set]
 Optional CSS style(s) to be applied to the field input element. Should be a valid argument to Ext.Element.applyStyles. Defaults to undefined. See also the setFieldStyle method for changing the style after initialization. More...
 
virtual XTemplate FieldSubTpl [get, set]
 The content of the field body is defined by this config option. More...
 
override string FocusCls [get, set]
 The CSS class to use when the field receives focus (defaults to 'x-form-focus') More...
 
virtual string FormItemCls [get, set]
 A CSS class to be applied to the outermost element to denote that it is participating in the form field layout. Defaults to 'x-form-item'. More...
 
virtual bool HideEmptyLabel [get, set]
 When set to true, the label element (fieldLabel and labelSeparator) will be automatically hidden if the fieldLabel is empty. Setting this to false will cause the empty label element to be rendered and space to be reserved for it; this is useful if you want a field without a label to line up with other labeled fields in the same form. Defaults to true. More...
 
virtual bool HideLabel [get, set]
 Set to true to completely hide the label element (fieldLabel and labelSeparator). Defaults to false. More...
 
virtual string InputID [get, set]
 The id that will be given to the generated input DOM element. Defaults to an automatically generated id. If you configure this manually, you must make sure it is unique in the document. More...
 
virtual InputType InputType [get, set]
 The type attribute for input fields – e.g. radio, text, password, file. The extended types supported by HTML5 inputs (url, email, etc.) may also be used, though using them will cause older browsers to fall back to 'text'. The type 'password' must be used to render that field type currently – there is no separate Ext component for that. You can use Ext.form.field.File which creates a custom-rendered file upload field, but if you want a plain unstyled file input you can use a Base with inputType:'file'. Defaults to: "text" More...
 
virtual string InvalidCls [get, set]
 The CSS class to use when marking the component invalid (defaults to 'x-form-invalid') More...
 
virtual string InvalidText [get, set]
 The error text to use when marking a field invalid and no message is provided (defaults to 'The value in this field is invalid') More...
 
virtual LabelAlign LabelAlign [get, set]
 Controls the position and alignment of the fieldLabel. Valid values are: "left" (the default) - The label is positioned to the left of the field, with its text aligned to the left. Its width is determined by the labelWidth config. "top" - The label is positioned above the field. "right" - The label is positioned to the left of the field, with its text aligned to the right. Its width is determined by the labelWidth config. More...
 
virtual string LabelCls [get, set]
 The CSS class to be applied to the label element. Defaults to 'x-form-item-label'. This (single) CSS class is used to formulate the renderSelector and drives the field layout where it is concatenated with a hyphen ('-') and labelAlign. To add additional classes, use labelClsExtra. More...
 
virtual int LabelPad [get, set]
 The amount of space in pixels between the fieldLabel and the input field. Defaults to 5. More...
 
virtual string LabelSeparator [get, set]
 Character(s) to be inserted at the end of the label text. More...
 
virtual string LabelStyle [get, set]
 A CSS style specification string to apply directly to this field's label. Defaults to undefined. More...
 
virtual int LabelWidth [get, set]
 The width of the fieldLabel in pixels. Only applicable if the labelAlign is set to "left" or "right". Defaults to 100. More...
 
virtual MessageTarget MsgTarget [get, set]
 The location where the error message text should display. Must be one of the following values: More...
 
virtual string MsgTargetElement [get, set]
 Add the error message directly to the innerHTML of the specified element. More...
 
virtual string Name [get, set]
 The name of the field (defaults to undefined). This is used as the parameter name when including the field value in a form submit(). If no name is configured, it falls back to the inputId. To prevent the field from being included in the form submit, set submitValue to false. More...
 
virtual string DataIndex [get, set]
 
virtual bool PreventMark [get, set]
 true to disable displaying any error message set on this object. Defaults to false. More...
 
virtual bool ReadOnly [get, set]
 true to mark the field as readOnly in HTML (defaults to false). Note: this only sets the element's readOnly DOM attribute. Setting readOnly=true, for example, will not disable triggering a ComboBox or Date; it gives you the option of forcing the user to choose via the trigger without typing in the text box. To hide the trigger use hideTrigger. More...
 
virtual string ReadOnlyCls [get, set]
 The CSS class applied to the component's main element when it is readOnly. More...
 
virtual bool SubmitValue [get, set]
 Setting this to false will prevent the field from being submitted even when it is not disabled. Defaults to true. More...
 
override short TabIndex [get, set]
 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined). More...
 
virtual bool ValidateOnBlur [get, set]
 Whether the field should validate when it loses focus (defaults to true). This will cause fields to be validated as the user steps through the fields in the form regardless of whether they are making changes to those fields along the way. See also validateOnChange. More...
 
virtual bool ValidateOnChange [get, set]
 Specifies whether this field should be validated immediately whenever a change in its value is detected. Defaults to true. If the validation results in a change in the field's validity, a validitychange event will be fired. This allows the field to show feedback about the validity of its contents immediately as the user is typing. More...
 
virtual ? bool? ValidateOnFocusLeave [get, set]
 Set to true to validate the field when focus leaves the field's component hierarchy entirely. The difference between validateOnBlur and this option is that the former will happen when field's input element blurs. In complex fields such as ComboBox or Date focus may leave the input element to the drop-down picker, which will cause validateOnBlur to happen prematurely. More...
 
virtual string Validation [get, set]
 This property contributes its value to the error state of this instance as reported by getErrors. Defaults to null. More...
 
virtual XTemplate InputAttrTpl [get, set]
 An optional string to insert in the field markup inside the input element (as attributes). More...
 
virtual XTemplate AfterLabelTextTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup after the label text. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate AfterLabelTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup after the label text. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate AfterSubTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup after the subTpl markup. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate BeforeLabelTextTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup before the label text. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate BeforeLabelTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup before the label element. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate BeforeSubTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup before the subTpl markup. If an XTemplate is used, the component's render data serves as the context. More...
 
virtual XTemplate LabelAttrTpl [get, set]
 An optional string or XTemplate configuration to insert in the field markup inside the label element (as attributes). If an XTemplate is used, the component's render data serves as the context. More...
 
virtual string LabelClsExtra [get, set]
 An optional string of one or more additional CSS classes to add to the label element. Defaults to empty. More...
 
virtual bool PreserveIndicatorIcon [get, set]
 Preserve indicator icon place. Defaults to false More...
 
virtual string IndicatorText [get, set]
 The indicator text. More...
 
virtual string IndicatorCls [get, set]
 The indicator css class. More...
 
virtual string IndicatorIconCls [get, set]
 The indicator icon class. More...
 
virtual Icon IndicatorIcon [get, set]
 
virtual string IndicatorIconClsProxy [get]
 
virtual string IndicatorTip [get, set]
 The indicator tip. More...
 
virtual QTipCfg IndicatorTipConfig [get, set]
 The indicator tip's config. More...
 
virtual string? IndicatorTipConfigProxy [get]
 A proxy to render the IndicatorTipConfig property. More...
 
virtual string Note [get, set]
 The note. More...
 
virtual string NoteCls [get, set]
 The note css class. More...
 
virtual NoteAlign NoteAlign [get, set]
 Note align More...
 
virtual bool NoteEncode [get, set]
 True to encode note text More...
 
virtual JFunction GetFieldLabel [get]
 Returns the label for the field. Defaults to simply returning the fieldLabel config. Can be overridden to provide More...
 
virtual JFunction GetModelData [get]
 Returns the value(s) that should be saved to the Ext.data.Model instance for this field, when Ext.form.Basic.updateRecord is called. Typically this will be an object with a single name-value pair, the name being this field's name and the value being its current data value. More advanced field implementations may return more than one name-value pair. The returned values will be saved to the corresponding field names in the Model. Note that the values returned from this method are not guaranteed to have been successfully validated. More...
 
virtual JFunction GetSubmitData [get]
 Returns the parameter(s) that would be included in a standard form submit for this field. Typically this will be an object with a single name-value pair, the name being this field's name and the value being its current stringified value. More advanced field implementations may return more than one name-value pair. Note that the values returned from this method are not guaranteed to have been successfully validated. More...
 
virtual JFunction GetErrors [get]
 Runs this field's validators and returns an array of error messages for any validation failures. This is called internally during validation and would not usually need to be used manually. Each subclass should override or augment the return value to provide their own errors Returns: Array All error messages for this field More...
 
virtual object Value [get, set]
 A value to initialize this field with. More...
 
virtual object RawValue [get, set]
 The raw data value which may or may not be a valid, defined value. To return a normalized value see Value property. More...
 
virtual object EmptyValue [get, set]
 The fields null value. More...
 
virtual bool? IsEmpty [get]
 Gets a value indicating whether the Value is equal to EmptyValue. More...
 
virtual JFunction Validator [get]
 A custom validation function to be called during field validation (getErrors) (defaults to undefined). If specified, this function will be called first, allowing the developer to override the default validation process. This function will be passed the following Parameters: value: Mixed The current field value params: Object More...
 
virtual string ValidatorText [get, set]
 A custom error message to display in place of the default message provided for the validator currently set for this field (defaults to ''). Only applies if validator is set, else ignored. More...
 
override ShrinkWrap ShrinkWrap [get, set]
 In CSS terms, shrink-wrap width is analogous to an inline-block element as opposed to a block-level element. Some container layouts always shrink-wrap their children, effectively ignoring this property (e.g., Ext.layout.container.HBox, Ext.layout.container.VBox, Ext.layout.component.Dock). The Default is "Both". More...
 
virtual ValidationType StandardVtype [get, set]
 A validation type name as defined in Ext.form.VTypes (defaults to null). More...
 
virtual string Vtype [get, set]
 A validation type name as defined in Ext.form.VTypes (defaults to null). More...
 
virtual string VtypeText [get, set]
 A custom error message to display in place of the default message provided for the vtype currently set for this field (defaults to ''). Only applies if vtype is set, else ignored. More...
 
virtual ParameterCollection VTypeParams [get]
 Parameters are passed to VType validation method More...
 
virtual List< IconIcons [get]
 
virtual bool IsRemoteValidation [get, set]
 
RemoteValidationDirectEvent RemoteValidation [get]
 
virtual bool SuccessLoadPostData [get, protected set]
 
virtual bool RethrowLoadPostDataException [get, set]
 
virtual bool HasLoadPostData [get, set]
 
override ConfigOptionsCollection ConfigOptions [get]
 
static bool FieldIDFromExpression [get, set]
 
override bool IDFromControlFor [get, set]
 
- Properties inherited from Ext.Net.ComponentBase
virtual string DefaultBindProperty [get, set]
 This property is used to determine the property of a bind config that is just the value. For example, if defaultBindProperty="value", then this shorthand bind config: More...
 
virtual bool Draggable [get, set]
 Allows the component to be dragged via the touch event. More...
 
virtual bool? DraggableProxy [get]
 
virtual ComponentDragger DraggableConfig [get, set]
 Specify as true to make a floating AbstractComponent draggable using the AbstractComponent's encapsulating element as the drag handle. This may also be specified as a config object for the ComponentDragger which is instantiated to perform dragging. For example to create a AbstractComponent which may only be dragged around using a certain internal element as the drag handle, use the delegate option More...
 
virtual string? DraggableConfigProxy [get]
 
virtual bool MaintainFlex [get, set]
 Only valid when a sibling element of a Splitter within a VBox or HBox layout. Specifies that if an immediate sibling Splitter is moved, the AbstractComponent on the other side is resized, and this AbstractComponent maintains its configured flex value. More...
 
virtual object MaskDefaults [get, set]
 Default LoadMask configuration for method-setLoading. More...
 
virtual Overflow OverflowX [get, set]
 Possible values are: * 'auto' to enable automatic horizontal scrollbar (overflow-x: 'auto'). * 'scroll' to always enable horizontal scrollbar (overflow-x: 'scroll'). The default is overflow-x: 'hidden'. This should not be combined with scrollable. More...
 
virtual Overflow OverflowY [get, set]
 Possible values are: * 'auto' to enable automatic vertical scrollbar (overflow-y: 'auto'). * 'scroll' to always enable vertical scrollbar (overflow-y: 'scroll'). The default is overflow-y: 'hidden'. This should not be combined with scrollable. More...
 
virtual ? bool? Resizable [get, set]
 Specify as true to apply a Resizer to this AbstractComponent after rendering. More...
 
virtual ResizerResizableConfig [get, set]
 Specify as a config object to apply a Resizer to this AbstractComponent after rendering. May also be specified as a config object to be passed to the constructor of Resizer to override any defaults. By default the AbstractComponent passes its minimum and maximum size, and uses Ext.resizer.Resizer-dynamic: false More...
 
virtual string? ResizableConfigProxy [get]
 
virtual ResizeHandle ResizeHandles [get, set]
 A valid Ext.resizer.Resizer handles config string (defaults to 'all'). Only applies when resizable = true. More...
 
virtual string ResizeHandlesSummary [get, set]
 A valid Ext.resizer.Resizer handles config string (defaults to 'all'). Only applies when resizable = true. More...
 
string ResizeHandlesProxy [get]
 Serializes the ResizeHandles property More...
 
virtual ScrollableOption Scrollable [get, set]
 Configuration options to make the Component scrollable More...
 
virtual bool ToFrontOnShow [get, set]
 True to automatically call toFront when the show method is called on an already visible, floating component (default is true). More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.AbstractComponent
override string AliasPrefix [get]
 
override List< ResourceItemResources [get]
 
override string InitialConfig [get]
 
override LazyMode LazyMode [get, set]
 
override string InstanceOf [get]
 
virtual string Action [get, set]
 Specifies an action for this component More...
 
virtual string TagHiddenName [get, set]
 
virtual object?? Tag [get, set]
 An Object that contains data about the Component. The default is a null reference. More...
 
virtual string? TagString [get, set]
 
virtual string AlignTarget [get, set]
 A Component or Element by which to position this component according to the defaultAlign. Defaults to ths owning Container. Only applicable if this component is floating. Used upon first show. More...
 
virtual JsonObject AriaAttributes [get, set]
 An object containing ARIA attributes to be set on this Component's ARIA element. Use this to set the attributes that cannot be determined by the Component's state. Defaults to: {$value: null, lazy: true} More...
 
virtual string AriaDescribedBy [get, set]
 DOM selector for a child element that is to be used as description for this Component, set in aria-describedby attribute. The selector works the same way as ariaLabelledBy. More...
 
virtual string AriaLabel [get, set]
 ARIA label for this Component. It is best to use ariaLabelledBy option instead, because screen readers prefer aria-labelledby attribute to aria-label. ariaLabelledBy takes precedence if both specified. More...
 
virtual string AriaLabelledBy [get, set]
 DOM selector for a child element that is to be used as label for this Component, set in aria-labelledby attribute. If the selector is by #id, the label element can be any existing element, not necessarily a child of the main Component element. Overrides ariaLabel if both specified. More...
 
virtual string AriaRole [get, set]
 ARIA role for this Component, defaults to no role. With no role, no other ARIA attributes are set. More...
 
virtual DomObject?? AutoEl [get]
 A tag name or DomHelper spec used to create the Element which will encapsulate this AbstractComponent. You do not normally need to specify this. For the base classes Ext.AbstractComponent and Ext.container.Container, this defaults to 'div'. The more complex Sencha classes use a more complex DOM structure specified by their own renderTpls. This is intended to allow the developer to create application-specific utility Components encapsulated by different DOM elements. More...
 
virtual ParameterCollection Bind [get]
 Setting this config option adds or removes data bindings for other configs. More...
 
virtual object ViewModel [get, set]
 
virtual object BindObject [get, set]
 
virtual string BindString [get, set]
 
virtual bool DestroyContent [get, set]
 If true then component will search components inside Content area and destroy it during own destroy More...
 
virtual bool AutoRender [get, set]
 This config is intended mainly for floating Components which may or may not be shown. Instead of using renderTo in the configuration, and rendering upon construction, this allows a Component to render itself upon first show. Specify as true to have this AbstractComponent render to the document body upon first show. Specify as an element, or the ID of an element to have this AbstractComponent render to a specific element upon first show. This defaults to true for the Window class. More...
 
virtual string AutoRenderElement [get, set]
 This config is intended mainly for floating Components which may or may not be shown. Instead of using renderTo in the configuration, and rendering upon construction, this allows a AbstractComponent to render itself upon first show. Specify as true to have this AbstractComponent render to the document body upon first show. Specify as an element, or the ID of an element to have this AbstractComponent render to a specific element upon first show. This defaults to true for the Window class. More...
 
virtual bool AutoShow [get, set]
 True to automatically show the component upon creation. This config option may only be used for floating components or components that use autoRender. Defaults to false. More...
 
virtual string BaseCls [get, set]
 The base CSS class to apply to this components's element. This will also be prepended to elements within this component like Panel's body will get a class x-panel-body. This means that if you create a subclass of Panel, and you want it to get all the Panels styling for the element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this component. More...
 
virtual ? bool? Border [get, set]
 
virtual string BorderSpec [get, set]
 
virtual ChildElementCollection?? ChildEls [get]
 An array describing the child elements of the Component. Each member of the array is an object with these properties: More...
 
virtual string Cls [get, set]
 An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. More...
 
virtual string ComponentCls [get, set]
 CSS Class to be added to a components root level element to give distinction to it via styling. More...
 
virtual string ComponentLayout [get, set]
 The sizing and positioning of a AbstractComponent's internal Elements is the responsibility of the AbstractComponent's layout manager which sizes a AbstractComponent's internal structure in response to the AbstractComponent being sized. Generally, developers will not use this configuration as all provided Components which need their internal elements sizing (Such as input fields) come with their own componentLayout managers. The default layout manager will be used on instances of the base Ext.AbstractComponent class which simply sizes the AbstractComponent's encapsulating element to the height and width specified in the setSize method. More...
 
virtual string CtCls [get, set]
 An optional extra CSS class that will be added to this component's container. This can be useful for adding customized styles to the container or any of its children using standard CSS rules. More...
 
virtual bool Constrain [get, set]
 True to constrain this Components within its containing element, false to allow it to fall outside of its containing element. By default this Component will be rendered to document.body. To render and constrain this Component within another element specify renderTo. Defaults to: false More...
 
virtual string ConstrainToElement [get, set]
 A Region (or an element from which a Region measurement will be read) which is used to constrain the component. Only applies when the component is floating. More...
 
virtual System.Drawing.? Rectangle? ConstrainToRegion [get, set]
 A Region (or an element from which a Region measurement will be read) which is used to constrain the component. Only applies when the component is floating. More...
 
virtual string ConstrainToRegionProxy [get]
 
virtual string ConstraintInsets [get, set]
 
virtual object Data [get, set]
 The initial set of data to apply to the tpl to update the content area of the AbstractComponent. More...
 
virtual string DefaultAlign [get, set]
 The default Ext.dom.Element::getAlignToXY anchor position value for this component relative to its alignTarget (which defaults to its owning Container). Only applicable if this component is floating. Used upon first show. Defaults to: "c-c" More...
 
virtual bool Disabled [get, set]
 Render this component disabled (default is false). More...
 
virtual string DisabledCls [get, set]
 CSS class to add when the AbstractComponent is disabled. Defaults to 'x-item-disabled'. More...
 
virtual Dock Dock [get, set]
 The dock position of this component in its parent panel More...
 
virtual bool Fixed [get, set]
 Configure as true to have this Component fixed at its X, Y coordinates in the browser viewport, immune to scrolling the document. Defaults to: false More...
 
virtual bool Floating [get, set]
 Specify as true to float the AbstractComponent outside of the document flow using CSS absolute positioning. Components such as Windows and Menus are floating by default. Floating Components that are programatically rendered will register themselves with the global ZIndexManager Floating Components as child items of a Container A floating AbstractComponent may be used as a child item of a Container. This just allows the floating AbstractComponent to seek a ZIndexManager by examining the ownerCt chain. When configured as floating, Components acquire, at render time, a ZIndexManager which manages a stack of related floating Components. The ZIndexManager brings a single floating AbstractComponent to the top of its stack when the AbstractComponent's toFront method is called. The ZIndexManager is found by traversing up the ownerCt chain to find an ancestor which itself is floating. This is so that descendant floating Components of floating Containers (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative to any siblings, but always above that floating ancestor Container. If no floating ancestor is found, a floating AbstractComponent registers itself with the default ZIndexManager. Floating components do not participate in the Container's layout. Because of this, they are not rendered until you explicitly show them. After rendering, the ownerCt reference is deleted, and the floatParent property is set to the found floating ancestor Container. If no floating ancestor Container was found the floatParent property will not be set. More...
 
virtual bool? FloatingProxy [get]
 
virtual LayerConfig FloatingConfig [get, set]
 Additional floating configs More...
 
virtual string? FloatingConfigProxy [get]
 
virtual bool Frame [get, set]
 Specify as true to have the AbstractComponent inject framing elements within the AbstractComponent at render time to provide a graphical rounded frame around the AbstractComponent content. This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer prior to version 9 which do not support rounded corners natively. The extra space taken up by this framing is available from the read only property frameSize. More...
 
virtual bool FormBind [get, set]
 Any component within the FormPanel can be configured with formBind: true. This will cause that component to be automatically disabled when the form is invalid, and enabled when it is valid. This is most commonly used for Button components to prevent submitting the form in an invalid state, but can be used on any component type. More...
 
virtual ? bool? Focusable [get, set]
 Set to true for interactive Components, false for static Components. For Containers, this property reflects interactiveness of the Container itself, not its children. Defaults to false. More...
 
virtual string FocusCls [get, set]
 CSS class that will be added to focused Component, and removed when Component blurs. More...
 
override Unit Height [get, set]
 The height of this component in pixels. More...
 
virtual string HeightSpec [get, set]
 The height of this component as a CSS value with units. More...
 
virtual bool Hidden [get, set]
 Render this component hidden (default is false). If true, the hide method will be called internally. More...
 
virtual HideMode HideMode [get, set]
 A String which specifies how this AbstractComponent's encapsulating DOM element will be hidden. Values may be 'display' : The AbstractComponent will be hidden using the display: none style. 'visibility' : The AbstractComponent will be hidden using the visibility: hidden style. 'offsets' : The AbstractComponent will be hidden by absolutely positioning it out of the visible area of the document. This is useful when a hidden AbstractComponent must maintain measurable dimensions. Hiding using display results in a AbstractComponent having zero dimensions. Defaults to 'display'. More...
 
virtual string Html [get, set]
 An HTML fragment, or a DomHelper specification to use as the layout element content (defaults to ''). The HTML content is added after the component is rendered, so the document will not contain this HTML at the time the render event is fired. This content is inserted into the body before any configured contentEl is appended. More...
 
virtual ? bool? LiquidLayout [get, set]
 Components that achieve their internal layout results using solely CSS with no JS intervention must set this to true. This allows the component to opt out of the layout run when used inside certain container layouts such as Form and Auto resulting in a performance gain. The following components currently use liquid layout (liquidLayout: true): All Form Fields (subclasses of Ext.form.field.Base) Ext.button.Button More...
 
virtual ComponentLoader Loader [get, set]
 A configuration object or an instance of a Ext.ComponentLoader to load remote content for this AbstractComponent. More...
 
virtual ? int? Margin [get, set]
 
virtual string MarginSpec [get, set]
 
virtual string MaskElement [get, set]
 
virtual ? bool? MaskOnDisable [get, set]
 This is an internal flag that you use when creating custom components. More...
 
virtual ? int? MaxHeight [get, set]
 
virtual ? int? MaxWidth [get, set]
 
virtual ? int? MinHeight [get, set]
 
virtual ? int? MinWidth [get, set]
 
virtual ? bool? ModelValidation [get, set]
 
virtual string OverCls [get, set]
 An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules. More...
 
virtual ? int? Padding [get, set]
 
virtual string PaddingSpec [get, set]
 
virtual ItemsCollection< PluginPlugins [get]
 An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.AbstractComponent. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality. More...
 
virtual string Publishes [get, set]
 One or more names of config properties that this component should publish to its ViewModel. Some components override this and publish their most useful configs by default. This config uses the reference to determine the name of the data object to place in the ViewModel. If reference is not set then this config is ignored. More...
 
virtual string[] PublishesArray [get, set]
 One or more names of config properties that this component should publish to its ViewModel. Some components override this and publish their most useful configs by default. This config uses the reference to determine the name of the data object to place in the ViewModel. If reference is not set then this config is ignored. More...
 
virtual object PublishesObject [get, set]
 One or more names of config properties that this component should publish to its ViewModel. Some components override this and publish their most useful configs by default. This config uses the reference to determine the name of the data object to place in the ViewModel. If reference is not set then this config is ignored. More...
 
virtual string Reference [get, set]
 Specifies a name for this component inside its component hierarchy. This name must be unique within its view or its ViewController. See the documentation in Ext.container.Container for more information about references. Note: Valid identifiers start with a letter or underscore and are followed by zero or more additional letters, underscores or digits. References are case sensitive. More...
 
virtual ParameterCollection?? RenderData [get]
 The data used by renderTpl in addition to the following property values of the component: id ui uiCls baseCls componentCls frame More...
 
virtual object RenderDataObject [get, set]
 The data used by renderTpl in addition to the following property values of the component More...
 
virtual ParameterCollection?? RenderSelectors [get]
 An object containing properties specifying DomQuery selectors which identify child elements created by the render process. After the AbstractComponent's internal structure is rendered according to the renderTpl, this object is iterated through, and the found Elements are added as properties to the AbstractComponent using the renderSelector property name. For example, a AbstractComponent which rendered an image, and description into its element might use the following properties coded into its prototype: More...
 
virtual string RenderTo [get, set]
 Specify the id of the element, a DOM element or an existing Element that this component will be rendered into. Notes : Do not use this option if the AbstractComponent is to be a child item of a Container. It is the responsibility of the Container's layout manager to render and manage its child items. When using this config, a call to render() is not required. More...
 
virtual ? bool? RTL [get, set]
 True to layout this component and its descendants in "rtl" (right-to-left) mode. Can be explicitly set to false to override a true value inherited from an ancestor. More...
 
virtual bool Session [get, set]
 If provided this creates a new Session instance for this component. If this is a Container, this will then be inherited by all child components. More...
 
virtual object TouchAction [get, set]
 Emulates the behavior of the CSS touch-action property in a cross-browser compatible manner. More...
 
override bool RenderTags [get]
 
virtual XTemplate RenderTpl [get, set]
 An XTemplate used to create the internal structure inside this AbstractComponent's encapsulating Element. You do not normally need to specify this. For the base classes Ext.AbstractComponent and Ext.container.Container, this defaults to null which means that they will be initially rendered with no internal structure; they render their Element empty. The more specialized ExtJS and Touch classes which use a more complex DOM structure, provide their own template definitions. This is intended to allow the developer to create application-specific utility Components with customized internal structure. Upon rendering, any created child elements may be automatically imported into object properties using the renderSelectors option. More...
 
virtual ShrinkWrap ShrinkWrap [get, set]
 In CSS terms, shrink-wrap width is analogous to an inline-block element as opposed to a block-level element. Some container layouts always shrink-wrap their children, effectively ignoring this property (e.g., Ext.layout.container.HBox, Ext.layout.container.VBox, Ext.layout.component.Dock). The Default is "Height". More...
 
virtual string StyleSpec [get, set]
 A custom style specification to be applied to this component's Element. More...
 
virtual string StyleHtmlCls [get, set]
 The class that is added to the content target when you set styleHtmlContent to true. Defaults to 'x-html' More...
 
virtual bool StyleHtmlContent [get, set]
 True to automatically style the html inside the content target of this component (body for panels). Defaults to false. More...
 
virtual XTemplate Tpl [get, set]
 An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in conjunction with the data and tplWriteMode configurations. More...
 
virtual TemplateWriteMode TplWriteMode [get, set]
 The Ext.(X)Template method to use when updating the content area of the AbstractComponent. Defaults to 'overwrite' (see Ext.XTemplate-overwrite). More...
 
override short TabIndex [get, set]
 DOM tabIndex attribute for this Focusable More...
 
virtual UI UI [get, set]
 A set of predefined ui styles for individual components. Most components support 'light' and 'dark'. Extra string added to the baseCls with an extra '-'. More...
 
virtual string UIName [get, set]
 A set of predefined ui styles for individual components. Most components support 'light' and 'dark'. Extra string added to the baseCls with an extra '-'. More...
 
virtual string?? UIProxy [get]
 
virtual string UserCls [get, set]
 One or more CSS classes to add to the component's primary element. This config is intended solely for use by the component instantiator (the "user"), not by derived classes. More...
 
override Unit Width [get, set]
 The width of this component in pixels. More...
 
virtual string WidthSpec [get, set]
 The width of this component as a CSS value with units. More...
 
virtual string XType [get]
 
virtual bool RenderXType [get, set]
 
virtual string?? XTypeProxy [get]
 The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child items of a Container is being specified not as a fully instantiated AbstractComponent, but as a AbstractComponent config object. The xtype will be looked up at render time up to determine what type of child AbstractComponent to create. More...
 
virtual JFunction PreInit [get, set]
 
virtual KeyBindItemCollection KeyMap [get, set]
 An object containing handlers for keyboard events. More...
 
virtual KeyNav KeyNav [get, set]
 
virtual ResponsiveRules ResponsiveConfig [get]
 This object consists of keys that represent the conditions on which configs will be applied. More...
 
virtual string ResponsiveConfigProxy [get]
 
virtual ResponsiveFormulas ResponsiveFormulas [get]
 It is common when using responsiveConfig to have recurring expressions that make for complex configurations. Using responsiveFormulas allows you to cut down on this repetition by adding new properties to the "scope" for the rules in a responsiveConfig. More...
 
virtual string ResponsiveFormulasProxy [get]
 
virtual string Anchor [get, set]
 This configuation option is to be applied to child items of a container managed by this layout (ie. configured with layout:'anchor'). This value is what tells the layout how an item should be anchored to the container. items added to an AnchorLayout accept an anchoring-specific config property of anchor which is a string containing two values: the horizontal anchor value and the vertical anchor value (for example, '100% 50'). More...
 
virtual string DefaultAnchor [get, set]
 The DefaultAnchor is applied as the Anchor config item to all child Items during render. More...
 
virtual string AnchorHorizontal [get, set]
 See Anchor property More...
 
virtual string AnchorVertical [get, set]
 See Anchor property More...
 
virtual string AnchorProxy [get]
 
virtual Region Region [get, set]
 Note: this config is only used when this AbstractComponent is rendered by a Container which has been configured to use the BorderLayout layout manager (e.g. specifying layout:'border'). More...
 
virtual bool SplitterResize [get, set]
 This configuration option is to be applied to the child items managed by this layout and is used in conjunction with split. By default, when specifying split, the region can be dragged to be resized. Set this option to false to show the split bar but prevent resizing. Defaults to: true More...
 
virtual bool Split [get, set]
 Only actual for items managed by Border layout. Each region with Split="true" will get a Splitter that allows for manual resizing of the container. Except for the center region. Defaults to false. More...
 
virtual bool? SplitProxy [get]
 A proxy property to render a split config option. More...
 
virtual BoxSplitter SplitterConfig [get, set]
 Only actual for items managed by Border layout. Each region with a SplitterConfig will get a Splitter that allows for manual resizing of the container. Except for the center region. More...
 
virtual string? SplitterConfigProxy [get]
 A proxy property to render a split config option. More...
 
virtual double ColumnWidth [get, set]
 The ColumnWidth property is only used with ColumnLayout is used. The ColumnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and less than 1. More...
 
string ColumnWidthProxy [get]
 
virtual int Flex [get, set]
 NOTE: This property is only used when the parent Layout is HBoxLayout or VBoxLayout. This configuation option is to be applied to child items of the container managed by this layout. Each child item with a flex property will be flexed horizontally according to each item's relative flex value compared to the sum of all items with a flex value specified. Any child items that have either a flex = 0 or flex = undefined will not be 'flexed' (the initial size will not be changed). More...
 
virtual bool Reorderable [get, set]
 False to disallow reordering for this Component. More...
 
virtual int RowSpan [get, set]
 Applied to the table cell containing the item. More...
 
virtual int ColSpan [get, set]
 Applied to the table cell containing the item. More...
 
virtual string CellCls [get, set]
 CSS class name added to the table cell containing the item. More...
 
virtual string CellId [get, set]
 An id applied to the table cell containing the item. More...
 
virtual AbstractContainerOwnerCt [get]
 This AbstractComponent's owner Container (defaults to undefined, and is set automatically when this AbstractComponent is added to a Container). Read-only. More...
 
virtual Element Element [get]
 
virtual string ContextMenuID [get, set]
 
virtual string ContextMenuIDProxy [get]
 
virtual ItemsCollection< ObservableBin [get]
 
virtual ItemsCollection< ObservableBinProxy [get]
 
virtual bool PreventContent [get]
 
virtual string? ContentEl [get]
 The id of an existing HTML node to use as the panel's body content (defaults to ''). More...
 
virtual ITemplate Content [get, set]
 
virtual ITemplate HtmlBin [get, set]
 
virtual ContentContainer?? ContentContainer [get, set]
 
ControlCollection ContentControls [get]
 
virtual int SaveDelay [get, set]
 A buffer to be applied if many state events are fired within a short period (defaults to 100). More...
 
virtual string[] StateEvents [get, set]
 An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). More...
 
virtual string StateID [get, set]
 The unique id for this component to use for state management purposes (defaults to the component id). More...
 
virtual bool Stateful [get, set]
 A flag which causes the AbstractComponent to attempt to restore the state of internal properties from a saved state on startup. Defaults to false. More...
 
virtual JFunction?? GetState [get]
 Return component's data which should be saved by StateProvider More...
 
virtual bool AlwaysOnTop [get, set]
 A flag indicating that this component should be on the top of the z-index stack for use by the zIndexManager to sort its stack. This may be a positive number to prioritize the ordering of multiple visible always on top components. This may be set to a negative number to prioritize a component to the bottom of the z-index stack. Defaults to false. More...
 
virtual int AlwaysOnTopIndex [get, set]
 A flag indicating that this component should be on the top of the z-index stack for use by the zIndexManager to sort its stack. This may be a positive number to prioritize the ordering of multiple visible always on top components. This may be set to a negative number to prioritize a component to the bottom of the z-index stack. Defaults to false. More...
 
virtual ? bool? AnimateShadow [get, set]
 True to animate the shadow along with the component while the component is animating. By default the shadow is hidden while the component is animating. Defaults to false. More...
 
virtual bool FocusOnToFront [get, set]
 Specifies whether the floated component should be automatically focused when it is brought to the front. Defaults to true. More...
 
virtual bool Shadow [get, set]
 Specifies whether the floating component should be given a shadow. Set to true to automatically create an Ext.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to disable the shadow. (Defaults to 'sides'.) More...
 
virtual ShadowMode ShadowMode [get, set]
 Specifies whether the floating component should be given a shadow. Set to true to automatically create an Ext.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to disable the shadow. (Defaults to 'sides'.) More...
 
virtual int ShadowOffset [get, set]
 Number of pixels to offset the shadow More...
 
virtual ? bool? Shim [get, set]
 True to enable an iframe shim for this Component to keep windowed objects from showing through. Defaults to false. More...
 
virtual ItemsCollection< ToolTipToolTips [get]
 A collection of ToolTip configs used to add ToolTips to the AbstractComponent More...
 
virtual ItemsCollection< CalloutCallouts [get]
 
virtual bool AutoFocus [get, set]
 True to automatically set the focus after render (defaults to false). More...
 
virtual int AutoFocusDelay [get, set]
 Focus delay (in milliseconds) when AutoFocus is true. More...
 
virtual bool Selectable [get, set]
 Determines if this component is selectable. (default is true). More...
 
virtual Unit PageX [get, set]
 The page level x coordinate for this component if contained within a positioning container. More...
 
virtual Unit PageY [get, set]
 The page level y coordinate for this component if contained within a positioning container. More...
 
virtual int X [get, set]
 The local x (left) coordinate for this component if contained within a positioning container. More...
 
virtual int Y [get, set]
 The local y (addToStart) coordinate for this component if contained within a positioning container. More...
 
virtual int Weight [get, set]
 Weight of docked item More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.Observable
virtual List< Observable >?? LazyItems [get]
 
virtual bool SingleItemMode [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
DynamicConfigDictionary ConfigsProxy [get]
 
virtual string DirectEventsKey [get]
 
MessageBusListeners MessageBusListeners [get]
 
MessageBusDirectEvents MessageBusDirectEvents [get]
 
virtual string MessageBusListenersProxy [get]
 
virtual string MessageBusDirectEventsProxy [get]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseControl
string ProductName [get]
 The product name More...
 
virtual string Version [get]
 The Version number of this build More...
 
string DynamicID [get]
 
override string ID [get, set]
 The unique id of this component instance (defaults to an auto-assigned id). Components created with an id may be accessed globally using Ext.getCmp. You can use the itemId config, and ComponentQuery which provides selector-based searching for Sencha Components analogous to DOM querying. The Container class contains shortcut methods to query its descendant Components by selector. Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent. Note: to avoid complications imposed by a unique id also see itemId. Note: to access the container of a AbstractComponent see ownerCt. More...
 
override string ClientID [get]
 
virtual string ItemID [get, set]
 An itemId can be used as an alternative way to get a reference to a component when no object reference is available. Instead of using an id with Ext.getCmp, use itemId with Ext.container.Container.getComponent which will retrieve itemId's or id's. Since itemId's are an index to the container's internal MixedCollection, the itemId is scoped locally to the container – avoiding potential conflicts with Ext.ComponentMgr which requires a unique id More...
 
virtual string???? ConfigID [get]
 
virtual string BaseClientID [get]
 The base .ClientID property derived from .NET Framework More...
 
virtual string ConfigIDProxy [get]
 
bool HasOwnIDMode [get]
 
virtual IDMode IDMode [get, set]
 Options for controlling how the .ClientID property is rendered in the client. More...
 
virtual bool StopIDModeInheritance [get, set]
 
virtual bool StopLazyModeInheritance [get, set]
 
virtual LazyModeLazyMode [get, set]
 Options for controlling how the lazy control is instantiated in the client. More...
 
bool HasOwnNamespace [get]
 
virtual string ClientNamespace [get]
 
virtual string Namespace [get, set]
 
virtual string? ClientNamespaceProxy [get]
 
virtual string??? InitialConfig [get]
 This AbstractComponent's initial configuration specification. Read-only. More...
 
virtual bool AutoDataBind [get, set]
 
virtual FactoryConfig Factory [get, set]
 
virtual string FactoryAlias [get, set]
 
virtual string FactoryInstance [get, set]
 
virtual bool TemplateWidget [get, set]
 
virtual string TemplateWidgetFnName [get, set]
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool RemoveContainer [get]
 
virtual bool IsMVC [get]
 
static ClientScriptItem UXScriptItem [get]
 
static ClientStyleItem UXStyleItem [get]
 
virtual bool IsDebugging [get]
 
virtual bool IsAjaxRequestInitiator [get]
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
virtual bool IsLazy [get]
 
virtual string? ContainerID [get]
 
virtual string ContainerStyle [get]
 
virtual bool IsInHead [get]
 
virtual bool IsInForm [get]
 
virtual string ClientForm [get]
 
virtual System.Web.UI.HtmlControls.HtmlForm ParentForm [get]
 
virtual AbstractComponent ParentComponent [get]
 
virtual BaseControl ParentWebControl [get]
 
virtual string InstanceOf [get]
 
virtual string AliasPrefix [get]
 
virtual string? ClassName [get]
 
virtual string CallID [get]
 
virtual bool IsGeneratedID [get]
 
bool IsDynamic [get, set]
 Set to true if a control is meant to be dynamically rendered. In absolutely most cases, this is set to true automatically if needed and originally the property was internal. Though, in some very specific and edge cases a developer might need to set it to true by his own. Setting it to true you should be absolutelly sure it is required. For example, if it is recommended by Ext.NET support team. Also it can be changed only to true, but not backwards. Defaults to false. More...
 
virtual bool ContentUpdated [get, set]
 
string BeforeScript [get]
 
string AfterScript [get]
 
virtual AbstractComponent ParentComponentNotLazyOrDynamic [get]
 
virtual bool RenderTags [get]
 
bool RegisterAllResources [get, set]
 
override string ToolTip [get, set]
 
override string AccessKey [get, set]
 
override Color BackColor [get, set]
 
override Color BorderColor [get, set]
 
override System.Web.UI.WebControls.BorderStyle BorderStyle [get, set]
 
override System.Web.UI.WebControls.Unit BorderWidth [get, set]
 
override string CssClass [get, set]
 
override System.Web.UI.WebControls.FontInfo Font [get]
 
override Color ForeColor [get, set]
 
override Unit Height [get, set]
 
override Unit Width [get, set]
 
virtual string PostBackArgument [get, set]
 
virtual string PostBackConfig [get]
 
virtual bool HasResourceManager [get]
 
virtual ResourceManager ResourceManager [get]
 
virtual List< ResourceItemResources [get]
 
virtual List< ClientResourceItemResourceItems [get]
 
virtual List< ResourceItemGlobalResources [get]
 
virtual string? ClientInitScript [get]
 
virtual bool IsInUpdatePanelRefresh [get]
 
virtual Control MyUpdatePanel [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
System.Web.Mvc.ViewContext ViewContext [get, set]
 
System.Web.Mvc.ControllerBase Controller [get, set]
 
virtual ViewDataDictionary ViewData [get]
 
virtual ControllerContext ControllerContext [get]
 
virtual string ControlFor [get, set]
 
virtual bool IDFromControlFor [get, set]
 
string FormatControlForValue [get, set]
 
Func< object, object > ConvertControlForValue [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 
- Properties inherited from Ext.Net.ILazyItems
List< ObservableLazyItems [get]
 
- Properties inherited from Ext.Net.IContent
ITemplate Content [get, set]
 
ContentContainer ContentContainer [get]
 
ControlCollection ContentControls [get]
 
string ContentEl [get]
 
- Properties inherited from Ext.Net.IAutoPostBack
bool AutoPostBack [get, set]
 
bool CausesValidation [get, set]
 
string ValidationGroup [get, set]
 
string PostBackEvent [get, set]
 
- Properties inherited from Ext.Net.IXPostBackDataHandler
bool HasLoadPostData [get, set]
 
- Properties inherited from Ext.Net.IField
object Value [get, set]
 
object EmptyValue [get, set]
 
bool IsEmpty [get]
 
- Properties inherited from Ext.Net.IIcon
List< IconIcons [get]
 

Additional Inherited Members

- Static Protected Attributes inherited from Ext.Net.PickerField
static readonly object EventValueChanged = new object()
 
static readonly object EventItemSelected = new object()
 
- Events inherited from Ext.Net.Observable
OnBeforeClientInitializedHandler BeforeClientInit
 
OnAfterClientInitializedHandler AfterClientInit
 

Detailed Description

Provides a time input field with a time dropdown and automatic time validation.

This field recognizes and uses JavaScript Date objects as its main value type (only the time portion of the date is used; the month/day/year are ignored). In addition, it recognizes string values which are parsed according to the format and/or altFormats configs. These may be reconfigured to use time formats appropriate for the user's locale.

The field may be limited to a certain range of times by using the minValue and maxValue configs, and the interval between time options in the dropdown can be changed with the increment config.

Constructor & Destructor Documentation

◆ TimeField() [1/2]

Ext.Net.TimeField.TimeField ( )
inline

◆ TimeField() [2/2]

Ext.Net.TimeField.TimeField ( Config  config)
inline

Member Function Documentation

◆ LoadPostData()

override bool Ext.Net.TimeField.LoadPostData ( string  postDataKey,
NameValueCollection  postCollection 
)
inlineprotectedvirtual

Parameters
postDataKey
postCollection
Returns

Reimplemented from Ext.Net.TextFieldBase.

◆ operator TimeField()

static implicit Ext.Net.TimeField.operator TimeField ( TimeField.Config  config)
inlinestatic

◆ SetMaxTime()

void Ext.Net.TimeField.SetMaxTime ( TimeSpan  time)
inline

Replaces any existing maxValue with the new time and refreshes the picker's range.

Parameters
timeThe maximum time that can be selected

◆ SetMinTime()

void Ext.Net.TimeField.SetMinTime ( TimeSpan  time)
inline

Replaces any existing minValue with the new time and refreshes the picker's range.

Parameters
timeThe minimum time that can be selected

◆ SetModelValidationRule()

override void Ext.Net.TimeField.SetModelValidationRule ( ModelClientValidationRule  rule)
inlineprotectedvirtual

Reimplemented from Ext.Net.TextFieldBase.

◆ SetModelValue()

override void Ext.Net.TimeField.SetModelValue ( object  value,
ModelMetadata  meta 
)
inlineprotectedvirtual

Reimplemented from Ext.Net.TextFieldBase.

◆ ToBuilder()

TimeField.Builder Ext.Net.TimeField.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.TimeField.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseControl.

Property Documentation

◆ AltFormats

virtual string Ext.Net.TimeField.AltFormats
getset

Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined format (defaults to 'g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H|gi a|hi a|giA|hiA|gi A|hi A').

◆ AltFormatsProxy

virtual string? Ext.Net.TimeField.AltFormatsProxy
getprotected

◆ AutoSelect

virtual bool Ext.Net.TimeField.AutoSelect
getset

true to automatically highlight the first result gathered by the data store in the dropdown list when it is opened. (Defaults to true). A false value would cause nothing in the list to be highlighted automatically, so the user would have to manually highlight an item before pressing the enter or tab key to select it (unless the value of (typeAhead) were true), or use the mouse to select a value.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.TimeField.ConfigOptions
get

◆ DirectChange

ComponentDirectEvent.DirectEventHandler Ext.Net.TimeField.DirectChange
addremove

Server-side DirectEvent handler. Method signature is (object sender, DirectEventArgs e).

◆ DirectEvents

ComboBoxDirectEvents Ext.Net.TimeField.DirectEvents
get

Server-side Ajax Event Handlers

◆ DirectSelect

ComponentDirectEvent.DirectEventHandler Ext.Net.TimeField.DirectSelect
addremove

Server-side DirectEvent handler. Method signature is (object sender, DirectEventArgs e).

◆ EmptyTime

virtual TimeSpan Ext.Net.TimeField.EmptyTime
getset

The fields null value.

◆ EmptyValue

override object Ext.Net.TimeField.EmptyValue
getset

The fields null value.

◆ FireSelectOnLoad

virtual bool Ext.Net.TimeField.FireSelectOnLoad
getset

True to fire select event after setValue on page load

◆ ForceSelection

virtual bool Ext.Net.TimeField.ForceSelection
getset

true to restrict the selected value to one of the values in the list, false to allow the user to set arbitrary text into the field (defaults to false)

◆ Format

virtual string Ext.Net.TimeField.Format
getset

The default time format string which can be overriden for localization support. The format must be valid according to Ext.Date.parse (defaults to 'g:i A', e.g., '3:15 PM'). For 24-hour time format try 'H:i' instead.

◆ FormatProxy

virtual string? Ext.Net.TimeField.FormatProxy
getprotected

◆ GrowToLongestValue

virtual bool Ext.Net.TimeField.GrowToLongestValue
getset

false to not allow the component to resize itself when its data changes (and its grow property is true). Defaults to: true

◆ Increment

virtual int Ext.Net.TimeField.Increment
getset

The number of minutes between each time value in the list (defaults to 15).

◆ InstanceOf

override string Ext.Net.TimeField.InstanceOf
get

◆ InvalidText

override string Ext.Net.TimeField.InvalidText
getset

The error text to display when the time in the field is invalid (defaults to '{0} is not a valid time').

◆ ListConfig

BoundList Ext.Net.TimeField.ListConfig
getset

An optional set of configuration properties that will be passed to the Ext.view.BoundList's constructor. Any configuration that is valid for BoundList can be included. Some of the more useful ones are:

Ext.view.BoundList.cls - defaults to empty Ext.view.BoundList.emptyText - defaults to empty string Ext.view.BoundList.itemSelector - defaults to the value defined in BoundList Ext.view.BoundList.loadingText - defaults to 'Loading...' Ext.view.BoundList.minWidth - defaults to 70 Ext.view.BoundList.maxWidth - defaults to undefined Ext.view.BoundList.maxHeight - defaults to 300 Ext.view.BoundList.resizable - defaults to false Ext.view.BoundList.shadow - defaults to 'sides' Ext.view.BoundList.width - defaults to undefined (automatically set to the width of the ComboBox field if matchFieldWidth is true)

◆ Listeners

ComboBoxListeners Ext.Net.TimeField.Listeners
get

Client-side JavaScript Event Handlers

◆ MaxText

virtual string Ext.Net.TimeField.MaxText
getset

The error text to display when the entered time is after maxValue (defaults to 'The time in this field must be equal to or before {0}').

◆ MaxTime

virtual TimeSpan? Ext.Net.TimeField.MaxTime
getset

The maximum allowed time. Can be either a Javascript date object with a valid time value or a string time in a valid format – see format and altFormats (defaults to undefined).

◆ MaxTimeProxy

virtual string?? Ext.Net.TimeField.MaxTimeProxy
getprotected

◆ MinChars

virtual int Ext.Net.TimeField.MinChars
getset

The minimum number of characters the user must type before autocomplete and typeAhead activate (defaults to 4 if queryMode = 'remote' or 0 if queryMode = 'local', does not apply if editable = false).

◆ MinText

virtual string Ext.Net.TimeField.MinText
getset

The error text to display when the entered time is before minValue (defaults to 'The time in this field must be equal to or after {0}').

◆ MinTime

virtual TimeSpan? Ext.Net.TimeField.MinTime
getset

The minimum allowed time. Can be either a Javascript date object with a valid time value or a string time in a valid format – see format and altFormats (defaults to undefined).

◆ MinTimeProxy

virtual string?? Ext.Net.TimeField.MinTimeProxy
getprotected

◆ PageSize

virtual int Ext.Net.TimeField.PageSize
getset

If greater than 0, a Ext.toolbar.Paging is displayed in the footer of the dropdown list and the filter queries will execute with page start and limit parameters. Only applies when queryMode = 'remote' (defaults to 0).

◆ PickerMaxHeight

virtual int Ext.Net.TimeField.PickerMaxHeight
getset

The maximum height of the Ext.picker.Time dropdown. Defaults to 300.

◆ QueryCaching

virtual bool Ext.Net.TimeField.QueryCaching
getset

When true, this prevents the combo from re-querying (either locally or remotely) when the current query is the same as the previous query. Defaults to: true

◆ QueryDelay

virtual int Ext.Net.TimeField.QueryDelay
getset

The length of time in milliseconds to delay between the start of typing and sending the query to filter the dropdown list (defaults to 500 if queryMode = 'remote' or 10 if queryMode = 'local')

◆ QueryMode

virtual DataLoadMode Ext.Net.TimeField.QueryMode
getset

Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server). The mode in which the ComboBox uses the configured Store. Acceptable values are:

'remote' : Default In queryMode: 'remote', the ComboBox loads its Store dynamically based upon user interaction. This is typically used for "autocomplete" type inputs, and after the user finishes typing, the Store is loaded. A parameter containing the typed string is sent in the load request. The default parameter name for the input string is query, but this can be configured using the queryParam config. In queryMode: 'remote', the Store may be configured with remoteFilter: true, and further filters may be programatically added to the Store which are then passed with every load request which allows the server to further refine the returned dataset. Typically, in an autocomplete situation, hideTrigger is configured true because it has no meaning for autocomplete. 'local' : ComboBox loads local data 'single' : The mode is switched to 'local' after data loading

◆ QueryParam

virtual string Ext.Net.TimeField.QueryParam
getset

Name of the parameter used by the Store to pass the typed string when the ComboBox is configured with queryMode: 'remote' (defaults to 'query'). If explicitly set to a falsy value it will not be sent.

◆ SelectedTime

TimeSpan? Ext.Net.TimeField.SelectedTime
getset

◆ SelectedValue

object Ext.Net.TimeField.SelectedValue
getset

◆ SelectOnTab

virtual bool Ext.Net.TimeField.SelectOnTab
getset

Whether the Tab key should select the currently highlighted item. Defaults to true.

◆ SnapToIncrement

virtual bool Ext.Net.TimeField.SnapToIncrement
getset

Specify as true to enforce that only values on the increment boundary are accepted. Defaults to: false

◆ SubmitFormat

virtual string Ext.Net.TimeField.SubmitFormat
getset

The date format string which will be submitted to the server. The format must be valid according to Ext.Date.parse (defaults to format).

◆ SubmitFormatProxy

virtual string?? Ext.Net.TimeField.SubmitFormatProxy
getprotected

◆ TriggerAction

virtual TriggerAction Ext.Net.TimeField.TriggerAction
getset

The action to execute when the trigger is clicked. 'all' : Default run the query specified by the allQuery config option 'query' : run the query using the raw value. See also queryParam.

◆ TypeAhead

virtual bool Ext.Net.TimeField.TypeAhead
getset

true to populate and autoselect the remainder of the text being typed after a configurable delay (typeAheadDelay) if it matches a known value (defaults to false)

◆ TypeAheadDelay

virtual int Ext.Net.TimeField.TypeAheadDelay
getset

The length of time in milliseconds to wait until the typeahead text is displayed if TypeAhead = true (defaults to 250).

◆ Value

override object Ext.Net.TimeField.Value
getset

◆ ValueNotFoundText

virtual string Ext.Net.TimeField.ValueNotFoundText
getset

When using a name/value combo, if the value passed to setValue is not found in the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined). If this default text is used, it means there is no value set and no validation will occur on this field.

◆ XType

override string Ext.Net.TimeField.XType
get


The documentation for this class was generated from the following files: