GrapeCity.Win.MultiRow Namespace > MaskedTextBoxCell Class : DisplayTextMaskFormat Property |
<SRDescriptionAttribute("Indicates whether literals and/or prompt characters are displayed.")> <SRCategoryAttribute("Behavior")> <DefaultValueAttribute()> <RefreshPropertiesAttribute(RefreshProperties.Repaint)> Public Property DisplayTextMaskFormat As MaskFormat
Dim instance As MaskedTextBoxCell Dim value As MaskFormat instance.DisplayTextMaskFormat = value value = instance.DisplayTextMaskFormat
[SRDescription("Indicates whether literals and/or prompt characters are displayed.")] [SRCategory("Behavior")] [DefaultValue()] [RefreshProperties(RefreshProperties.Repaint)] public MaskFormat DisplayTextMaskFormat {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The specified value is not a System.Windows.Forms.MaskFormat value. |
The DisplayTextMaskFormat property determines how text is interpreted when it is displayed in static painting. Specifically, it determines whether literal characters, prompt characters, or both are included when text is accessed. When prompt characters are excluded, they are transformed into spaces in the copied string.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2