HeaderPane
Main
Hide
Share Link
Print

TextFormatEnum Enumeration

Defines which characters a text of the control contains.

Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public enum TextFormatEnum;
Public Enum TextFormatEnum

Values

NameDescription
IncludeLiteralsThe input and the literals; empty input positions are spaces.
ExcludeLiteralsThe input only; empty input positions are spaces.
IncludePromptAndLiteralsThe input and the literals; empty input positions are prompt characters.
IncludePromptThe input only; empty input positions are prompt characters.

Comments

Defines which characters a text of the control contains.

Literals are the constant characters of the mask and the group separators of numeric fields. Empty input positions are returned as spaces, or as the prompt character (SftMask.PromptChar property) when prompts are included.

A numeric field is returned as its number without the empty positions in front of it; without literals, it has no group separators and a negative number has a minus sign instead of parentheses. An empty numeric field is returned as an empty string, or as one prompt character when prompts are included.

See Also Classes | SftMask/NET 3.0