If an event handler is implemented for Type Validation Completed, the handler receives a parameter of type The following code example demonstrates the use of this type.
In the example, an event handler reports on the occurrence of the Type Validation Completed event.
The “Spotlight on Controls” series focuses on a single Win Forms control in Primal Forms 2011 , details the important Properties, Methods, and Events of the control and demonstrates how to utilize the control.
Most of the information about the controls is still applicable to previous versions of Primal Forms.
If the value is a valid Date Time, the code performs an additional check to ensure that the date supplied is not prior to today's date.The predefined Mask for a US phone number specifies that the area code (first three digits) is optional and the remaining seven digits are mandatory.The following examples will help demonstrate the difference between the two properties: Partially completed phone number: Text The property gets or sets the text as it is currently displayed to the user.The designer has a useful set of predefined masks such as date time formats, phone numbers, and zip codes.You can access the predefined mask via the Property Pane: Or directly in the designer: If you need to create you own format, please refer to the following table or go to the Mask Property MSDN Help Page for more details.