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






Glossary Item Box

Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DescriptionAttribute("Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).")>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.CategoryAttribute("Behavior")>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
Public Property MaxLength As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As WebInput
Dim value As System.Integer
 
instance.MaxLength = value
 
value = instance.MaxLength
C# 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
public System.int MaxLength {get; set;}
Delphi 
public read-write property MaxLength: System.Integer; 
JScript 
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.DescriptionAttribute("Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).")
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.CategoryAttribute("Behavior")
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
public function get,set MaxLength : System.int
Managed Extensions for C++ 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
public: __property System.int get_MaxLength();
public: __property void set_MaxLength( 
   System.int value
);
C++/CLI 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).")]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
public:
property System.int MaxLength {
   System.int get();
   void set (    System.int value);
}

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.