Version

ValueConstraint Class Members

The following tables list the members exposed by ValueConstraint.

Public Constructors
 NameDescription
Public ConstructorValueConstraint Constructor  
Protected Fields
 NameDescription
Protected FieldtagValue (Inherited from Infragistics.Shared.SubObjectBase)
Public Properties
 NameDescription
Public PropertyDisposed (Inherited from Infragistics.Shared.DisposableObject)
Public PropertyEnumerationGets/sets an object implementing IValueList which contains a list of value options. Note, this property defaults to a null (Nothing) value.  
Public PropertyFixedValueGets/sets the value which the constrained value must be equal to.  
Public PropertyHasAnyConstraintsReturns true if any of the constraint properties are set on this object or if the ValidateAsType property is set to something other than 'Unknown'.  
Public PropertyHasEnumerationReturns true if the Enumeration list is not null.  
Public PropertyHasFixedValueReturns true if the FixedValue property is not null (Nothing).  
Public PropertyHasMaxExclusiveReturns true if the MaxExclusive property is not null (Nothing).  
Public PropertyHasMaxInclusiveReturns true if the MaxInclusive property is not null (Nothing).  
Public PropertyHasMaxLengthReturns true if the MaxLength property has a value greater than 0.  
Public PropertyHasMinExclusiveReturns true if the MinExclusive property is not null (Nothing).  
Public PropertyHasMinInclusiveReturns true if the MinInclusive property is not null (Nothing).  
Public PropertyHasMinLengthReturns true if the MinLength property has a value greater than 0.  
Public PropertyHasNullableReturns true if the Nullable property returns a non-default value.  
Public PropertyHasRegexPatternReturns true if the RegexPattern is not null (Nothing).  
Public PropertyMaxExclusiveGets/sets the value which is one greater than the maximum allowed for the constrained value.  
Public PropertyMaxInclusiveGets/sets the maximum value which the constrained value is allowed to be.  
Public PropertyMaxLengthGets/sets the maximum length (inclusive) allowed for the constrained value. This constraint applies to values of type 'string'. The default value is 0, which means that there is no limit.  
Public PropertyMinExclusiveGets/sets the value which is one less than the minimum allowed for the constrained value.  
Public PropertyMinInclusiveGets/sets the minimum value which the constrained value is allowed to be.  
Public PropertyMinLengthGets/sets the minimum length (inclusive) allowed for the constrained value. This constraint applies to values of type 'string'. The default value is 0.  
Public PropertyNullableGets/sets a flag which indicates if the constrained value is allowed to be null (Nothing).  
Public PropertyRegexPatternGets/sets the regular expression to which the constrained value must adhere.  
Public PropertyTag (Inherited from Infragistics.Shared.SubObjectBase)
Public Propertystatic (Shared in Visual Basic)UseTypeConverterToConvertValueSpecifies whether the embeddable editors should use underlying TypeConverters for converting data values. Default is False.  
Public PropertyValidateAsTypeGets/sets the ValidateAsType value which the Validate(Object,Type) method should use to constrain the input value. By default this value is set to Unknown.  
Protected Properties
 NameDescription
Protected PropertySubObjectPropChangeHandler (Inherited from Infragistics.Shared.SubObjectBase)
Public Methods
 NameDescription
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public Methodstatic (Shared in Visual Basic)GetTypeFromValidateAsTypeReturns the System.Type object which corresponds to the ValidateAsType argument.  
Public Methodstatic (Shared in Visual Basic)GetValidateAsTypeFromTypeReturns a ValidateAsType value that represents the System.Type argument.  
Public MethodInitializeFromOverloaded. Copies the state of the argument into this object.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMergeOverloaded. Copies constraint settings from the source ValueConstraint to the target (i.e. the instance on which this method was invoked). Only constraint settings which have default values on the target will be assigned values from the source. Only constraint settings specified by the 'constraintFlags' flags argument will be copied. Note, this method does not copy the ValidateAsType property.  
Public MethodNotifyPropChangeOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodResetOverloaded. Resets all of the constraint settings in this object to their initial (not set) state which are specified in the 'constraintFlags' bit flag argument. Note, this method does not reset the ValidateAsType property.  
Public MethodResetEnumerationSets the Enumeration property to null.  
Public MethodResetFixedValueResets the FixedValue property.  
Public MethodResetMaxExclusiveResets the MaxExclusive property.  
Public MethodResetMaxInclusiveResets the MaxInclusive property.  
Public MethodResetMaxLengthResets the MaxLength property.  
Public MethodResetMinExclusiveResets the MinExclusive property.  
Public MethodResetMinInclusiveResets the MinInclusive property.  
Public MethodResetMinLengthResets the MinLength property.  
Public MethodResetNullableResets the Nullable property.  
Public MethodResetRegexPatternResets the RegexPattern property.  
Public MethodShouldSerializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodValidateOverloaded. Returns true if the argument is considered valid with regards to the current constraint settings.  
Public Methodstatic (Shared in Visual Basic)ValueToDataValueConverts 'valueToConvert' to an object of the type 'convertToType'. If it cannot perform the conversion it returns null. It makes use of any formatting information provided passed in.  
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodDeserializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodInitializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnDispose (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodOnObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodOnSubObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodResetTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodSerializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Public Events
 NameDescription
Public EventSubObjectDisposed (Inherited from Infragistics.Shared.SubObjectBase)
Public EventSubObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
See Also