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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.