Intersoft WebInput Documentation
Format Property
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > MaskValidatorInfo Class : Format Property






Glossary Item Box

Specifies format expression of the text diplayed in the control when the control value is edited.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.CategoryAttribute("Data")>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.DescriptionAttribute("Specifies format expression of the text diplayed in the control when the control value is edited.")>
Public Property Format As System.String
Visual Basic (Usage)Copy Code
Dim instance As MaskValidatorInfo
Dim value As System.String
 
instance.Format = value
 
value = instance.Format
C# 
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Data")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies format expression of the text diplayed in the control when the control value is edited.")]
public System.string Format {get; set;}
Delphi 
public read-write property Format: System.String; 
JScript 
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.CategoryAttribute("Data")
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.DescriptionAttribute("Specifies format expression of the text diplayed in the control when the control value is edited.")
public function get,set Format : System.String
Managed Extensions for C++ 
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Data")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies format expression of the text diplayed in the control when the control value is edited.")]
public: __property System.string* get_Format();
public: __property void set_Format( 
   System.string* value
);
C++/CLI 
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.CategoryAttribute("Data")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies format expression of the text diplayed in the control when the control value is edited.")]
public:
property System.String^ Format {
   System.String^ get();
   void set (    System.String^ value);
}

Property Value

The default is String.Empty

Remarks

Using standard .NET formatting specifiers. Format expression must be synchroned with ISNet.WebUI.WebControls.WebInput.EditFormat.MaskInfo.MaskExpression. Format expression is ignored when ISNet.WebUI.WebControls.WebInput.EditFormat.MaskType = MaskType.Other

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

© 2013 Intersoft Solutions Corp. All Rights Reserved.