Share via


RangeValidationRule Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  System.Windows.Controls.ValidationRule
    Microsoft.VisualStudio.PlatformUI.BindableValidationRule
      Microsoft.VisualStudio.PlatformUI.RangeValidationRule

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Class RangeValidationRule _
    Inherits BindableValidationRule
public class RangeValidationRule : BindableValidationRule
public ref class RangeValidationRule : public BindableValidationRule
type RangeValidationRule =  
    class 
        inherit BindableValidationRule 
    end
public class RangeValidationRule extends BindableValidationRule

The RangeValidationRule type exposes the following members.

Constructors

  Name Description
Public method RangeValidationRule Microsoft internal use only.

Top

Properties

  Name Description
Public property BindingTarget Microsoft internal use only. (Inherited from BindableValidationRule.)
Public property Maximum Microsoft internal use only.
Public property Minimum Microsoft internal use only.
Public property ValidatesOnTargetUpdated Gets or sets a value that indicates whether the validation rule runs when the target of the Binding is updated. (Inherited from ValidationRule.)
Public property ValidationStep Gets or sets when the validation rule runs. (Inherited from ValidationRule.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Validate(Object, CultureInfo) Microsoft internal use only. (Overrides ValidationRule.Validate(Object, CultureInfo).)
Public method Validate(Object, CultureInfo, BindingExpressionBase) Performs validation checks on a value. (Inherited from ValidationRule.)
Public method Validate(Object, CultureInfo, BindingGroup) Performs validation checks on a value. (Inherited from ValidationRule.)

Top

Fields

  Name Description
Public fieldStatic member MaximumProperty Microsoft internal use only.
Public fieldStatic member MinimumProperty Microsoft internal use only.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace