Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
Syntax
Visual Basic (Declaration) | |
---|
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates whether this component raises validation events. ")>
<SRCategoryAttribute("Focus")>
Public Property CausesValidation As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Boolean
instance.CausesValidation = value
value = instance.CausesValidation |
C# | |
---|
[DefaultValueAttribute()]
[SRDescriptionAttribute("Indicates whether this component raises validation events. ")]
[SRCategoryAttribute("Focus")]
public bool CausesValidation {get; set;} |
C++/CLI | |
---|
[DefaultValueAttribute()]
[SRDescriptionAttribute("Indicates whether this component raises validation events. ")]
[SRCategoryAttribute("Focus")]
public:
property bool CausesValidation {
bool get();
void set ( bool value);
} |
Property Value
true if the control causes validation to be performed on any controls requiring validation when it receives focus; otherwise, false. The default is true.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also