Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.Labelable.Builder< TLabelable, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.Labelable.Builder< TLabelable, TBuilder >:
Ext.Net.BaseItem.Builder< TLabelable, TBuilder >

Public Member Functions

 Builder (TLabelable component)
 
virtual TBuilder ActiveError (string activeError)
 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 TBuilder ActiveErrorsTpl (string activeErrorsTpl)
 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 TBuilder AriaErrorText (string ariaErrorText)
 Localized announcement text for validation errors. This text will be used by Assistive Technologies such as screen readers to alert the users when field validation fails. More...
 
virtual TBuilder AriaHelp (string ariaHelp)
 Optional text description for this object. This text will be announced to Assistive Technology users when the object is focused. More...
 
virtual TBuilder AutoFitErrors (bool autoFitErrors)
 Whether to adjust the component's body area to make room for 'side' or 'under' error messages. Defaults to true. More...
 
virtual TBuilder BaseBodyCls (string baseBodyCls)
 The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'. More...
 
virtual TBuilder ClearCls (string clearCls)
 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-form-clear-left'). More...
 
virtual TBuilder DirtyCls (string dirtyCls)
 The CSS class to use when the field value is dirty. More...
 
virtual TBuilder ErrorMsgCls (string errorMsgCls)
 The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'. More...
 
virtual TBuilder FieldBodyCls (string fieldBodyCls)
 An extra CSS class to be applied to the body content element in addition to fieldBodyCls. Defaults to empty. More...
 
virtual TBuilder FieldLabel (string fieldLabel)
 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 TBuilder FocusCls (string focusCls)
 The CSS class to use when the field receives focus (defaults to 'x-form-focus') More...
 
virtual TBuilder FormItemCls (string formItemCls)
 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 TBuilder HideEmptyLabel (bool hideEmptyLabel)
 When set to true, the label element (fieldLabel and labelSeparator) will be automatically hidden if the fieldLabel is empty. More...
 
virtual TBuilder HideLabel (bool hideLabel)
 Set to true to completely hide the label element (fieldLabel and labelSeparator). Defaults to false. More...
 
virtual TBuilder InvalidCls (string invalidCls)
 The CSS class to use when marking the component invalid (defaults to 'x-form-invalid') More...
 
virtual TBuilder InvalidText (string invalidText)
 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 TBuilder LabelAlign (LabelAlign labelAlign)
 Controls the position and alignment of the fieldLabel. More...
 
virtual TBuilder LabelCls (string labelCls)
 The CSS class to be applied to the label element. More...
 
virtual TBuilder LabelPad (int labelPad)
 The amount of space in pixels between the fieldLabel and the input field. Defaults to 5. More...
 
virtual TBuilder LabelSeparator (string labelSeparator)
 Character(s) to be inserted at the end of the label text. More...
 
virtual TBuilder LabelStyle (string labelStyle)
 A CSS style specification string to apply directly to this field's label. Defaults to undefined. More...
 
virtual TBuilder LabelWidth (int labelWidth)
 The width of the fieldLabel in pixels. Only applicable if the labelAlign is set to "left" or "right". Defaults to 100. More...
 
virtual TBuilder MsgTarget (MessageTarget msgTarget)
 The location where the error message text should display. More...
 
virtual TBuilder MsgTargetElement (string msgTargetElement)
 Add the error message directly to the innerHTML of the specified element. More...
 
virtual TBuilder PreventMark (bool preventMark)
 true to disable displaying any error message set on this object. Defaults to false. More...
 
virtual TBuilder ReadOnly (bool readOnly)
 true to mark the field as readOnly in HTML (defaults to false). More...
 
virtual TBuilder ReadOnlyCls (string readOnlyCls)
 The CSS class applied to the component's main element when it is readOnly. More...
 
virtual TBuilder SubmitValue (bool submitValue)
 Setting this to false will prevent the field from being submitted even when it is not disabled. Defaults to true. More...
 
virtual TBuilder PreserveIndicatorIcon (bool preserveIndicatorIcon)
 Preserve indicator icon place. Defaults to false More...
 
virtual TBuilder AllowBlank (bool allowBlank)
 False to validate that the value length > 0 (defaults to true). More...
 
virtual TBuilder BlankText (string blankText)
 Error text to display if the allow blank validation fails (defaults to 'This field is required'). More...
 
virtual TBuilder DisableKeyFilter (bool disableKeyFilter)
 True to disable input keystroke filtering (defaults to false). More...
 
virtual TBuilder EmptyCls (string emptyCls)
 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 TBuilder EmptyText (string emptyText)
 The default text to display in an empty field (defaults to null). More...
 
virtual TBuilder EnableKeyEvents (bool enableKeyEvents)
 True to enable the proxying of key events for the HTML input field (defaults to false) More...
 
virtual TBuilder EnforceMaxLength (bool enforceMaxLength)
 True to set the maxLength property on the underlying input field. Defaults to false More...
 
virtual TBuilder Grow (bool grow)
 True if this field should automatically grow and shrink to its content (defaults to false). More...
 
virtual TBuilder GrowAppend (string growAppend)
 A string that will be appended to the field's current value for the purposes of calculating the target field size. Only used when the grow config is true. Defaults to a single capital "W" (the widest character in common fonts) to leave enough space for the next typed character and avoid the field value shifting before the width is adjusted. More...
 
virtual TBuilder GrowMax (int growMax)
 The maximum width to allow when grow = true (defaults to 800). More...
 
virtual TBuilder GrowMin (int growMin)
 The minimum width to allow when grow = true (defaults to 30). More...
 
virtual TBuilder MaskRe (string maskRe)
 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 TBuilder MaxLength (int maxLength)
 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 TBuilder MaxLengthText (string maxLengthText)
 Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}'). More...
 
virtual TBuilder MinLength (int minLength)
 Minimum input field length required (defaults to 0). More...
 
virtual TBuilder MinLengthText (string minLengthText)
 Error text to display if the minimum length validation fails (defaults to 'The minimum length for this field is {minLength}'). More...
 
virtual TBuilder Regex (string regex)
 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 TBuilder RegexText (string regexText)
 The error text to display if regex is used and the test fails during validation (defaults to ''). More...
 
virtual TBuilder SelectOnFocus (bool selectOnFocus)
 True to automatically select any existing field text when the field receives input focus (defaults to false). More...
 
virtual TBuilder Size (int size)
 An initial value for the 'size' attribute on the text input element. This is only used if the field has no configured width and is not given a width by its container's layout. Defaults to 20. More...
 
virtual TBuilder StripCharsRe (string stripCharsRe)
 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 TBuilder Validator (Action< JFunction > action)
 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. More...
 
virtual TBuilder StandardVtype (ValidationType standardVtype)
 A validation type name as defined in Ext.form.VTypes (defaults to null). More...
 
virtual TBuilder Vtype (string vtype)
 A validation type name as defined in Ext.form.VTypes (defaults to null). More...
 
virtual TBuilder VtypeText (string vtypeText)
 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...
 
 Builder ()
 
 Builder (Labelable component)
 
 Builder (Labelable.Config config)
 
- Public Member Functions inherited from Ext.Net.BaseItem.Builder< TLabelable, TBuilder >
 Builder (TItem item)
 
virtual TItem ToComponent ()
 Get the instance of the underlying StateManagedItem. More...
 
virtual TBuilder CustomConfig (Action< ConfigItemCollection > action)
 Collection of custom js config More...
 

Static Public Member Functions

static implicit operator Builder (Labelable component)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Builder< TLabelable, TBuilder >
static implicit operator TItem (BaseItem.Builder< TItem, TBuilder > builder)
 Implicit conversion of a TItem object directly into a TComponent. More...
 

Additional Inherited Members

- Protected Attributes inherited from Ext.Net.BaseItem.Builder< TLabelable, TBuilder >
TItem item
 

Detailed Description

Type Constraints
TLabelable :Labelable 
TBuilder :Builder 
TBuilder :TLabelable 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Builder ( TLabelable  component)
inline

◆ Builder() [2/4]

Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Builder ( Labelable  component)
inline

◆ Builder() [4/4]

Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Builder ( Labelable.Config  config)
inline

Member Function Documentation

◆ ActiveError()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ActiveError ( string  activeError)
inlinevirtual

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.

◆ ActiveErrorsTpl()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ActiveErrorsTpl ( string  activeErrorsTpl)
inlinevirtual

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.

◆ AllowBlank()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.AllowBlank ( bool  allowBlank)
inlinevirtual

False to validate that the value length > 0 (defaults to true).

◆ AriaErrorText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.AriaErrorText ( string  ariaErrorText)
inlinevirtual

Localized announcement text for validation errors. This text will be used by Assistive Technologies such as screen readers to alert the users when field validation fails.

◆ AriaHelp()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.AriaHelp ( string  ariaHelp)
inlinevirtual

Optional text description for this object. This text will be announced to Assistive Technology users when the object is focused.

◆ AutoFitErrors()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.AutoFitErrors ( bool  autoFitErrors)
inlinevirtual

Whether to adjust the component's body area to make room for 'side' or 'under' error messages. Defaults to true.

◆ BaseBodyCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.BaseBodyCls ( string  baseBodyCls)
inlinevirtual

The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.

◆ BlankText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.BlankText ( string  blankText)
inlinevirtual

Error text to display if the allow blank validation fails (defaults to 'This field is required').

◆ ClearCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ClearCls ( string  clearCls)
inlinevirtual

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-form-clear-left').

◆ DirtyCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.DirtyCls ( string  dirtyCls)
inlinevirtual

The CSS class to use when the field value is dirty.

◆ DisableKeyFilter()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.DisableKeyFilter ( bool  disableKeyFilter)
inlinevirtual

True to disable input keystroke filtering (defaults to false).

◆ EmptyCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.EmptyCls ( string  emptyCls)
inlinevirtual

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.

◆ EmptyText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.EmptyText ( string  emptyText)
inlinevirtual

The default text to display in an empty field (defaults to null).

◆ EnableKeyEvents()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.EnableKeyEvents ( bool  enableKeyEvents)
inlinevirtual

True to enable the proxying of key events for the HTML input field (defaults to false)

◆ EnforceMaxLength()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.EnforceMaxLength ( bool  enforceMaxLength)
inlinevirtual

True to set the maxLength property on the underlying input field. Defaults to false

◆ ErrorMsgCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ErrorMsgCls ( string  errorMsgCls)
inlinevirtual

The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.

◆ FieldBodyCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.FieldBodyCls ( string  fieldBodyCls)
inlinevirtual

An extra CSS class to be applied to the body content element in addition to fieldBodyCls. Defaults to empty.

◆ FieldLabel()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.FieldLabel ( string  fieldLabel)
inlinevirtual

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.

◆ FocusCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.FocusCls ( string  focusCls)
inlinevirtual

The CSS class to use when the field receives focus (defaults to 'x-form-focus')

◆ FormItemCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.FormItemCls ( string  formItemCls)
inlinevirtual

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'.

◆ Grow()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Grow ( bool  grow)
inlinevirtual

True if this field should automatically grow and shrink to its content (defaults to false).

◆ GrowAppend()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.GrowAppend ( string  growAppend)
inlinevirtual

A string that will be appended to the field's current value for the purposes of calculating the target field size. Only used when the grow config is true. Defaults to a single capital "W" (the widest character in common fonts) to leave enough space for the next typed character and avoid the field value shifting before the width is adjusted.

◆ GrowMax()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.GrowMax ( int  growMax)
inlinevirtual

The maximum width to allow when grow = true (defaults to 800).

◆ GrowMin()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.GrowMin ( int  growMin)
inlinevirtual

The minimum width to allow when grow = true (defaults to 30).

◆ HideEmptyLabel()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.HideEmptyLabel ( bool  hideEmptyLabel)
inlinevirtual

When set to true, the label element (fieldLabel and labelSeparator) will be automatically hidden if the fieldLabel is empty.

◆ HideLabel()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.HideLabel ( bool  hideLabel)
inlinevirtual

Set to true to completely hide the label element (fieldLabel and labelSeparator). Defaults to false.

◆ InvalidCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.InvalidCls ( string  invalidCls)
inlinevirtual

The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')

◆ InvalidText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.InvalidText ( string  invalidText)
inlinevirtual

The error text to use when marking a field invalid and no message is provided (defaults to 'The value in this field is invalid').

◆ LabelAlign()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelAlign ( LabelAlign  labelAlign)
inlinevirtual

Controls the position and alignment of the fieldLabel.

◆ LabelCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelCls ( string  labelCls)
inlinevirtual

The CSS class to be applied to the label element.

◆ LabelPad()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelPad ( int  labelPad)
inlinevirtual

The amount of space in pixels between the fieldLabel and the input field. Defaults to 5.

◆ LabelSeparator()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelSeparator ( string  labelSeparator)
inlinevirtual

Character(s) to be inserted at the end of the label text.

◆ LabelStyle()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelStyle ( string  labelStyle)
inlinevirtual

A CSS style specification string to apply directly to this field's label. Defaults to undefined.

◆ LabelWidth()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.LabelWidth ( int  labelWidth)
inlinevirtual

The width of the fieldLabel in pixels. Only applicable if the labelAlign is set to "left" or "right". Defaults to 100.

◆ MaskRe()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MaskRe ( string  maskRe)
inlinevirtual

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.

◆ MaxLength()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MaxLength ( int  maxLength)
inlinevirtual

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.

◆ MaxLengthText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MaxLengthText ( string  maxLengthText)
inlinevirtual

Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}').

◆ MinLength()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MinLength ( int  minLength)
inlinevirtual

Minimum input field length required (defaults to 0).

◆ MinLengthText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MinLengthText ( string  minLengthText)
inlinevirtual

Error text to display if the minimum length validation fails (defaults to 'The minimum length for this field is {minLength}').

◆ MsgTarget()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MsgTarget ( MessageTarget  msgTarget)
inlinevirtual

The location where the error message text should display.

◆ MsgTargetElement()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.MsgTargetElement ( string  msgTargetElement)
inlinevirtual

Add the error message directly to the innerHTML of the specified element.

◆ operator Builder()

static implicit Ext.Net.Labelable.Builder< TLabelable, TBuilder >.operator Builder ( Labelable  component)
inlinestatic

◆ PreserveIndicatorIcon()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.PreserveIndicatorIcon ( bool  preserveIndicatorIcon)
inlinevirtual

Preserve indicator icon place. Defaults to false

◆ PreventMark()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.PreventMark ( bool  preventMark)
inlinevirtual

true to disable displaying any error message set on this object. Defaults to false.

◆ ReadOnly()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ReadOnly ( bool  readOnly)
inlinevirtual

true to mark the field as readOnly in HTML (defaults to false).

◆ ReadOnlyCls()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.ReadOnlyCls ( string  readOnlyCls)
inlinevirtual

The CSS class applied to the component's main element when it is readOnly.

◆ Regex()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Regex ( string  regex)
inlinevirtual

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.

◆ RegexText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.RegexText ( string  regexText)
inlinevirtual

The error text to display if regex is used and the test fails during validation (defaults to '').

◆ SelectOnFocus()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.SelectOnFocus ( bool  selectOnFocus)
inlinevirtual

True to automatically select any existing field text when the field receives input focus (defaults to false).

◆ Size()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Size ( int  size)
inlinevirtual

An initial value for the 'size' attribute on the text input element. This is only used if the field has no configured width and is not given a width by its container's layout. Defaults to 20.

◆ StandardVtype()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.StandardVtype ( ValidationType  standardVtype)
inlinevirtual

A validation type name as defined in Ext.form.VTypes (defaults to null).

◆ StripCharsRe()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.StripCharsRe ( string  stripCharsRe)
inlinevirtual

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.

◆ SubmitValue()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.SubmitValue ( bool  submitValue)
inlinevirtual

Setting this to false will prevent the field from being submitted even when it is not disabled. Defaults to true.

◆ Validator()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Validator ( Action< JFunction action)
inlinevirtual

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.

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ Vtype()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.Vtype ( string  vtype)
inlinevirtual

A validation type name as defined in Ext.form.VTypes (defaults to null).

◆ VtypeText()

virtual TBuilder Ext.Net.Labelable.Builder< TLabelable, TBuilder >.VtypeText ( string  vtypeText)
inlinevirtual

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.


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