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

Validates that the passed value is not null or undefined or ''. More...

Inheritance diagram for Ext.Net.PresenceValidator:
Ext.Net.Validator Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 PresenceValidator ()
 
PresenceValidator.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 PresenceValidator (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 PresenceValidator (PresenceValidator.Config config)
 

Properties

override string Type [get]
 Alias More...
 
virtual bool AllowEmpty [get, set]
 True to allow '' as a valid value. Defaults to false. 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 is not null or undefined or ''.

Constructor & Destructor Documentation

◆ PresenceValidator() [1/2]

Ext.Net.PresenceValidator.PresenceValidator ( )
inline

◆ PresenceValidator() [2/2]

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

Member Function Documentation

◆ operator PresenceValidator()

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

◆ ToBuilder()

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

◆ ToNativeBuilder()

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

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ AllowEmpty

virtual bool Ext.Net.PresenceValidator.AllowEmpty
getset

True to allow '' as a valid value. Defaults to false.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.PresenceValidator.ConfigOptions
get

◆ Type

override string Ext.Net.PresenceValidator.Type
getprotected

Alias


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