Input for WinForms | ComponentOne
C1.Win.Input.Formating Namespace / FormatInfo Class
Properties Methods Events


In This Topic
    FormatInfo Class Members
    In This Topic

    The following tables list the members exposed by FormatInfo.

    Public Properties
     NameDescription
    Public PropertyGets or sets the custom format specifies used if FormatType = FormatType.CustomFormat.  
    Public PropertyGets or sets a value indicating whether empty strings are interpreted as null values (System.DBNull).  
    Public PropertyGets or sets the value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting.  
    Public PropertyGets or sets a value manages inheritance of the FormatInfo properties from the host control properties.  
    Public PropertyGets or sets the string representing DbNull value.  
    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 MethodOverloaded. Formats a value, converts it to a string.  
    Public MethodResets whole FormatInfo property of base control  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises the FormatError event.  
    Protected MethodRaises the Formatting event.  
    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 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 CustomFormat property.  
    Protected MethodSpecifies whether to save the value of the EmptyAsNull 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 when the control receives data that cannot be formatted according to the current format and edit mask settings.  
    Public EventFormatting the value programmatically.  
    Top
    See Also