Intersoft WebCombo Documentation
TextBoxMode Property
See Also  Example Send Feedback
ISNet.WebUI.WebCombo Namespace > LayoutSet Class : TextBoxMode Property






Returns or sets the textbox mode of the control. Returns or sets the textbox mode of the control.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute("Returns or sets the textbox mode of the control.")>
Public Property TextBoxMode As TextboxMode
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As TextboxMode
 
instance.TextBoxMode = value
 
value = instance.TextBoxMode
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Returns or sets the textbox mode of the control.")]
public TextboxMode TextBoxMode {get; set;}
Delphi 
public read-write property TextBoxMode: TextboxMode; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
DescriptionAttribute("Returns or sets the textbox mode of the control.")
public function get,set TextBoxMode : TextboxMode
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Returns or sets the textbox mode of the control.")]
public: __property TextboxMode get_TextBoxMode();
public: __property void set_TextBoxMode( 
   TextboxMode value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Returns or sets the textbox mode of the control.")]
public:
property TextboxMode TextBoxMode {
   TextboxMode get();
   void set (    TextboxMode value);
}

Example

 

The following example shows you how to configure the TextBoxMode to ReadOnly programmatically
C#Copy Code
WebCombo1.LayoutSettings.TextBoxMode = TextboxMode.ReadOnly;

Remarks

The default value in this property is Editable - it means user can type or add a value on the combo. However users can set this property to ReadOnly, in which the combo is not editable.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.