GrapeCity MultiRow Windows Forms Documentation
TextMaskFormat Property


Gets or sets a value that determines how literals and prompt characters are formatted in the value.
Syntax
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("Indicates whether the Cell value includes literals and/or prompt characters.")>
<SRCategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Property TextMaskFormat As MaskFormat
Dim instance As MaskedTextBoxCell
Dim value As MaskFormat
 
instance.TextMaskFormat = value
 
value = instance.TextMaskFormat
[RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("Indicates whether the Cell value includes literals and/or prompt characters.")]
[SRCategory("Behavior")]
[DefaultValue()]
public MaskFormat TextMaskFormat {get; set;}

Property Value

One of the System.Windows.Forms.MaskFormat values. The default is System.Windows.Forms.MaskFormat.IncludeLiterals.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not a System.Windows.Forms.MaskFormat value.
Remarks
Refer to MaskedTextBox.TextMaskFormat in MSDN.
Requirements

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

See Also

Reference

MaskedTextBoxCell Class
MaskedTextBoxCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.