combit List & Label 24 - .NET Online Web Help
MatchPattern Property
Example 


combit.ListLabel24.Dom Namespace > PropertyInputEditVerification Class : MatchPattern Property
Gets or sets a regular expression that will be used to validate the input if the edit control loses the focus. If the validation fails, the user receives the ValidationFailedHint.
Syntax
'Declaration
 
Public Property MatchPattern As String
public string MatchPattern {get; set;}
public:
property String^ MatchPattern {
   String^ get();
   void set (    String^ value);
}
Example
// check e mail address with regular expression 
llObjFormEdit.Verification.MatchPattern = "\"^[\\w\\.\\-]+@([\\w\\-]+\\.)*[\\w\\-]{2,63}\\.[a-zA-Z]{2,4}$\"";  
  
// hint if verification failed  
llObjFormEdit.Verification.ValidationFailedHint = "\"The email address is not valid.\"";
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

PropertyInputEditVerification Class
PropertyInputEditVerification Members