The following tables list the members exposed by ValueConstraint.
Name | Description | |
---|---|---|
ValueConstraint Constructor |
Name | Description | |
---|---|---|
tagValue | (Inherited from Infragistics.Shared.SubObjectBase) |
Name | Description | |
---|---|---|
Disposed | (Inherited from Infragistics.Shared.DisposableObject) | |
Enumeration | Gets/sets an object implementing IValueList which contains a list of value options. Note, this property defaults to a null (Nothing) value. | |
FixedValue | Gets/sets the value which the constrained value must be equal to. | |
HasAnyConstraints | Returns true if any of the constraint properties are set on this object or if the ValidateAsType property is set to something other than 'Unknown'. | |
HasEnumeration | Returns true if the Enumeration list is not null. | |
HasFixedValue | Returns true if the FixedValue property is not null (Nothing). | |
HasMaxExclusive | Returns true if the MaxExclusive property is not null (Nothing). | |
HasMaxInclusive | Returns true if the MaxInclusive property is not null (Nothing). | |
HasMaxLength | Returns true if the MaxLength property has a value greater than 0. | |
HasMinExclusive | Returns true if the MinExclusive property is not null (Nothing). | |
HasMinInclusive | Returns true if the MinInclusive property is not null (Nothing). | |
HasMinLength | Returns true if the MinLength property has a value greater than 0. | |
HasNullable | Returns true if the Nullable property returns a non-default value. | |
HasRegexPattern | Returns true if the RegexPattern is not null (Nothing). | |
MaxExclusive | Gets/sets the value which is one greater than the maximum allowed for the constrained value. | |
MaxInclusive | Gets/sets the maximum value which the constrained value is allowed to be. | |
MaxLength | Gets/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. | |
MinExclusive | Gets/sets the value which is one less than the minimum allowed for the constrained value. | |
MinInclusive | Gets/sets the minimum value which the constrained value is allowed to be. | |
MinLength | Gets/sets the minimum length (inclusive) allowed for the constrained value. This constraint applies to values of type 'string'. The default value is 0. | |
Nullable | Gets/sets a flag which indicates if the constrained value is allowed to be null (Nothing). | |
RegexPattern | Gets/sets the regular expression to which the constrained value must adhere. | |
Tag | (Inherited from Infragistics.Shared.SubObjectBase) | |
UseTypeConverterToConvertValue | Specifies whether the embeddable editors should use underlying TypeConverters for converting data values. Default is False. | |
ValidateAsType | Gets/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. |
Name | Description | |
---|---|---|
SubObjectPropChangeHandler | (Inherited from Infragistics.Shared.SubObjectBase) |
Name | Description | |
---|---|---|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | (Inherited from Infragistics.Shared.DisposableObject) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetTypeFromValidateAsType | Returns the System.Type object which corresponds to the ValidateAsType argument. | |
GetValidateAsTypeFromType | Returns a ValidateAsType value that represents the System.Type argument. | |
InitializeFrom | Overloaded. Copies the state of the argument into this object. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Merge | Overloaded. 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. | |
NotifyPropChange | Overloaded. (Inherited from Infragistics.Shared.SubObjectBase) | |
Reset | Overloaded. 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. | |
ResetEnumeration | Sets the Enumeration property to null. | |
ResetFixedValue | Resets the FixedValue property. | |
ResetMaxExclusive | Resets the MaxExclusive property. | |
ResetMaxInclusive | Resets the MaxInclusive property. | |
ResetMaxLength | Resets the MaxLength property. | |
ResetMinExclusive | Resets the MinExclusive property. | |
ResetMinInclusive | Resets the MinInclusive property. | |
ResetMinLength | Resets the MinLength property. | |
ResetNullable | Resets the Nullable property. | |
ResetRegexPattern | Resets the RegexPattern property. | |
ShouldSerializeTag | (Inherited from Infragistics.Shared.SubObjectBase) | |
Validate | Overloaded. Returns true if the argument is considered valid with regards to the current constraint settings. | |
ValueToDataValue | Converts '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. | |
VerifyNotDisposed | (Inherited from Infragistics.Shared.DisposableObject) |
Name | Description | |
---|---|---|
DeserializeTag | Overloaded. (Inherited from Infragistics.Shared.SubObjectBase) | |
InitializeTag | (Inherited from Infragistics.Shared.SubObjectBase) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
OnDispose | (Inherited from Infragistics.Shared.SubObjectBase) | |
OnObjectPropChanged | (Inherited from Infragistics.Shared.SubObjectBase) | |
OnSubObjectPropChanged | (Inherited from Infragistics.Shared.SubObjectBase) | |
ResetTag | (Inherited from Infragistics.Shared.SubObjectBase) | |
SerializeTag | Overloaded. (Inherited from Infragistics.Shared.SubObjectBase) |
Name | Description | |
---|---|---|
SubObjectDisposed | (Inherited from Infragistics.Shared.SubObjectBase) | |
SubObjectPropChanged | (Inherited from Infragistics.Shared.SubObjectBase) |