Version 24.2 (latest)

ValueConstraint Class Properties

For a list of all members of this type, see ValueConstraint members.

Public Properties
 NameDescription
Public PropertyCanFreezeGets a value that indicates whether the object can be made unmodifiable. (Inherited from System.Windows.Freezable)
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyEnumerationGets/sets an object implementing System.Collections.IEnumerable 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 PropertyIsFrozenGets a value that indicates whether the object is currently modifiable. (Inherited from System.Windows.Freezable)
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public PropertyMaxExclusiveGets/sets the value that will constraint the data value to be less than it.  
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 that will constraint the data value to be greater than it.  
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, which means there is no minimum length constraint.  
Public PropertyNullableGets/sets a flag which indicates if the constrained value is allowed to be null (Nothing). Default value of this property is null which is to allow null values.  
Public PropertyRegexPatternGets/sets the regular expression to which the constrained value must adhere.  
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.  
See Also