BaseValidator Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BaseValidator class.
protected:
BaseValidator();
protected BaseValidator ();
Protected Sub New ()
Remarks
This constructor is not called directly. Validation controls that inherit from this class can call this constructor from their own constructors to initialize the base properties.
The following table shows initial property values for an instance of BaseValidator.
Property | Initial value |
---|---|
IsValid | true |
ForeColor | Color.Red |
PropertiesValid | true |
RenderUplevel | false |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.