Edit

Share via


TextBoxMask Class

Definition

TextBox mask property allows a user to more easily enter fixed width text in TextBox control where you would like them to enter the data in a certain format

public class TextBoxMask
type TextBoxMask = class
Public Class TextBoxMask
Inheritance
TextBoxMask

Constructors

TextBoxMask()

Fields

CustomMaskProperty

Represents the custom mask that the user can create to add his own variable characters based on regex expression

MaskProperty

Represents a mask/format for the textbox that the user must follow

PlaceHolderProperty

Represents the mask place holder which represents the variable character that the user can edit in the textbox

Attached Properties

CustomMask
Mask
PlaceHolder

Methods

GetCustomMask(DependencyObject)

Gets CustomMask value

GetMask(DependencyObject)

Gets mask value

GetPlaceHolder(DependencyObject)

Gets placeholder value

SetCustomMask(DependencyObject, String)

Sets CustomMask property which represents the custom mask that the user can create to add his own variable characters based on certain regex expression

SetMask(DependencyObject, String)

Sets textbox mask property which represents mask/format for the textbox that the user must follow

SetPlaceHolder(DependencyObject, String)

Sets placeholder property which represents the variable character that the user can edit in the textbox

Applies to