[]
        
(Showing Draft Content)

FarPoint.Win.SuperEdit.MaskFormatter

MaskFormatter Class

Represents a mask formatter.

Inheritance
MaskFormatter
Implements
Namespace: FarPoint.Win.SuperEdit
Assembly: FarPoint.Win.dll
Syntax
public class MaskFormatter : ISEditFormatter
Public Class MaskFormatter
    Implements ISEditFormatter

Constructors

Name Description
MaskFormatter()

Creates a new mask formatter with default values.

MaskFormatter(MaskType)

Creates a new mask formatter with the specified type of mask.

MaskFormatter(MaskType, string)

Creates a new mask formatter with the specified type of mask and format.

Properties

Name Description
FormatString

Gets or sets the format string.

IgnoreThrowFormatException

Sets allow ignore throw format exception or not.

IsFmtStrParsed

Determines whether the format string has been parsed since it was set or changed (or something else changed).

ManageInput

If implemented, it supports methods which allow an editor to use for validating and formatting user input.

MaskChar

Gets or sets the mask character.

MaskType

Gets or sets the type of mask (ex: none, PicMask, Float).

RegionSettings

Gets or sets the regional settings.

Methods

Name Description
FromFormattedString(string)

Parses and returns the "value" from a formatted string.

FromFormattedString(string, bool)

Parses and returns the "value" from a formatted string.

FromUnformattedString(string)

Parses and returns the "value" from an unformatted string.

HasNegativeSign(string)

Determines whether the specified text has a negative sign.

OnCustomMask(object, CustomMaskEventArgs)

Occurs when the custom mask is used.

ParseFormatString()

Parses the format string.

ToFormattedString(object)

Returns a formatted string (plus attributes) for the value passed.

ToUnformattedString(object)

Returns an unformatted string for the value passed.

VerifyParsedObject()

Verifies the parsed object.

Events

Name Description
CustomMask

Handles custom mask event.