HeaderPane
Main
Hide
Share Link
Print

SkipLiterals Property, SftMask Class

Defines whether typing the literal character at a literal position moves past it.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public bool SkipLiterals { get; set; }
Public Property SkipLiterals As Boolean

Value

True if the typed literal moves the caret past the literal, False if the character is rejected (SftMask.InputRejected event).

The default value is True.

Comments

Defines whether typing the literal character at a literal position moves past it.

The caret moves past literals by itself as the user types. A typed character that repeats one of the literals the caret has just moved past, or a group separator of a numeric field, is accepted without a change, so a phone number can be typed with or without its parentheses and dashes. With False, such characters are rejected.

See Also SftMask Class | Classes | SftMask/NET 3.0