Input for WinForms | ComponentOne
C1.Win.Input.Validation Namespace / ParseInfo Class
Properties Methods Events


In This Topic
    ParseInfo Class Members
    In This Topic

    The following tables list the members exposed by ParseInfo.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether string comparisons are case-sensitive.  
    Public PropertyGets or sets custom format specifies (in parsing used for DateTime and Boolean types only).  
    Public PropertyGets or sets an enumerable value indicating the styles (flags) permitted in input strings representing date/time.  
    Public PropertyGets or sets a value indicating whether empty strings are interpreted as null values (System.DBNull).  
    Public PropertyGets or sets error message shown in the standard message box and/or in the exception.  
    Public PropertyGets or sets the format used for parsing.  
    Public PropertyGets or sets a value manages inheritance of the ParseInfo properties from the host control properties.  
    Public PropertyGets or sets the string representing DbNull value.  
    Public PropertyGets or sets an enumerable value indicating the styles (flags) permitted in input strings representing numbers.  
    Public PropertyGets or sets a value indicating whether trailing spaces are removed before parsing.  
    Public PropertyGets or sets a value indicating whether leading spaces are removed before parsing.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns True if the argument represents a null value (DBNull).  
    Public MethodConverts text to the specified data type.  
    Public MethodConverts the text to a Boolean value.  
    Public MethodConverts text to a value using one of DateTime formats.  
    Public MethodConverts the text to a Decimal value using a fixed numeric format.  
    Public MethodConverts the text to a Double value using a float numeric format.  
    Public MethodConverts the text to Int64 value using an integer numeric format.  
    Public MethodResets whole ParseInfo property of base control  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises the Parsed event.  
    Protected MethodRaises the Parsing event.  
    Protected MethodRestores the default value of the CaseSensitive property.  
    Protected MethodRestores the default value of the CustomFormat property.  
    Protected MethodRestores the default value of the EmptyAsNull property.  
    Protected MethodRestores the default value of the ErrorMessage property.  
    Protected MethodRestores the default value of the FormatType property.  
    Protected MethodRestores the default value of the NullText property.  
    Protected MethodRestores the default value of the TrimEnd property.  
    Protected MethodRestores the default value of the TrimStart property.  
    Protected MethodSpecifies whether to save the value of the CaseSensitive property.  
    Protected MethodSpecifies whether to save the value of the CustomFormat property.  
    Protected MethodSpecifies whether to save the value of the EmptyAsNull property.  
    Protected MethodSpecifies whether to save the value of the ErrorMessage property.  
    Protected MethodSpecifies whether to save the value of the FormatType property.  
    Protected MethodSpecifies whether to save the value of the NullText property.  
    Protected MethodSpecifies whether to save the value of the TrimEnd property.  
    Protected MethodSpecifies whether to save the value of the TrimStart property.  
    Top
    Public Events
     NameDescription
    Public EventOccurs after the input string value has been converted to the DataType.  
    Public EventOccurs when the input string is parsed programmatically.  
    Top
    See Also