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

Validates that the passed value matches a specific format specified by a regex. The format is provided by the matcher config. More...

Inheritance diagram for Ext.Net.FormatValidator:
Ext.Net.Validator Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.EmailValidator

Classes

class  Builder
 
class  Config
 

Public Member Functions

 FormatValidator ()
 
FormatValidator.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 FormatValidator (Config config)
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator FormatValidator (FormatValidator.Config config)
 

Properties

override string Type [get]
 Alias More...
 
virtual string Matcher [get, set]
 A JavaScript RegExp object to be tested against the value More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.Validator
abstract string Type [get]
 Alias More...
 
virtual string Field [get, set]
 The name of the field to validate More...
 
virtual string Message [get, set]
 The error message used when a validation fails More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

Validates that the passed value matches a specific format specified by a regex. The format is provided by the matcher config.

Constructor & Destructor Documentation

◆ FormatValidator() [1/2]

Ext.Net.FormatValidator.FormatValidator ( )
inline

◆ FormatValidator() [2/2]

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

Member Function Documentation

◆ operator FormatValidator()

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

◆ ToBuilder()

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

◆ ToNativeBuilder()

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

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.FormatValidator.ConfigOptions
get

◆ Matcher

virtual string Ext.Net.FormatValidator.Matcher
getset

A JavaScript RegExp object to be tested against the value

◆ Type

override string Ext.Net.FormatValidator.Type
getprotected

Alias


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