WebMaskEditor1.DisplayMode = Infragistics.Web.UI.EditorControls.MaskDisplayMode.Mask
WebMaskEditor™ provides you with two different options on how to display the text when control has no focus and no data. This option can be set by simply setting the control’s DisplayMode property.
You can set the DisplayMode property to one of the members in the MaskDisplayMode enumeration, either by using the Microsoft® Visual Studio® Property Window or by using the following code:
In Visual Basic:
WebMaskEditor1.DisplayMode = Infragistics.Web.UI.EditorControls.MaskDisplayMode.Mask
In C#:
WebMaskEditor1.DisplayMode = Infragistics.Web.UI.EditorControls.MaskDisplayMode.Mask;