ComponentOne MultiSelect for WinForms
C1.Win.Input.Formating Namespace / MaskInfo Class
Properties Methods


In This Topic
    MaskInfo Class Members
    In This Topic

    The following tables list the members exposed by MaskInfo.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value that indicates whether the focus automatically moves to the next control when the mask is filled.  
    Public PropertyGets or sets a value that indicates whether string comparisons within the mask literals are case-sensitive.  
    Public PropertyText entered by the user without literals (mask literals stripped).  
    Public PropertyGets or sets a value that indicates whether the text copied to the clipboard includes literals.  
    Public PropertyGets the collection of user-defined mask characters.  
    Public PropertyReturns the number of editable positions in the edit mask.  
    Public PropertyGets or sets the edit mask string restricting user input.  
    Public PropertyText in a readable format, with literals and without blanks.  
    Public PropertyGets or sets a value that indicates whether empty strings are interpreted as null values (DbNull).  
    Public PropertyGets or sets a value that indicates whether a error message shown in the standard message box and/or if an exception occurs.  
    Public PropertyGets or sets a value that manages inheritance of the MaskInfo properties from the host control properties.  
    Public PropertyGets a value indicates whether the mask pattern in regular expression style was succesfully recognized or not.  
    Public PropertyCharacter displayed on empty mask positions in edit mode.  
    Public PropertyA System.String representing the mask in regular expression style with custom keywords.  
    Public PropertyGets ot sets a value that indicate RegexpMaskType of the mask in regular expression style.  
    Public PropertyGets or sets a value that indicates whether the stored text includes blank positions as StoredEmptyChar.  
    Public PropertyGets or sets a value that indicates whether the stored text includes literals.  
    Public PropertyGets or sets the literal display method.  
    Public PropertyGets or sets a value that indicates whether optional mask positions are automatically skipped until the first position allowing the typed character.  
    Public PropertyThe stored string obtained from the user input string.  
    Public PropertyGets or sets a value that indicates whether the сharacter stored in empty mask positions.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns the string containing characters entered by the user, including those on optional positions that were left blank (skipped).  
    Public MethodReturns a string formatted for display using edit mask.  
    Public MethodReturns the string that will be stored in the database, in accordance with current values of SaveLiterals, SaveBlanks and StoredEmptyChar properties.  
    Public MethodReturns True if EditMask is non-empty and the control is in edit mode.  
    Public MethodReturns True if the input string is valid with respect to the edit mask.  
    Public MethodResets whole MaskInfo property of base control  
    Public MethodResets the text to the string representing a DBNull value.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRestores the default value of the CaseSensitive property.  
    Protected MethodRestores the default value of the CustomPlaceholders property.  
    Protected MethodRestores the default value of the EmptyAsNull property.  
    Protected MethodRestores the default value of the ErrorMessage property.  
    Protected MethodSpecifies whether to save the value of the CaseSensitive property.  
    Protected MethodSpecifies whether to save the value of the CustomPlaceholders property.  
    Protected MethodSpecifies whether to save the value of the EditMask property.  
    Protected MethodSpecifies whether to save the value of the EmptyAsNull property.  
    Protected MethodSpecifies whether to save the value of the ErrorMessage property.  
    Top
    See Also