TEXT Attribute | Text Property
Sets or retrieves a value that indicates the text or caption of the object.
Syntax
Visual Basic Overridable Public Property Text As string C# public virtual string Text { get; set; } Managed C++ public: __property virtual string get_Text();
public: __property virtual void set_Text(string);JScript public function get Text() : string;
public function set Text(string);
Possible Values
sText string that specifies or receives the text or caption of the object. The property is read/write. The property has no default value.
Remarks
The value of this property overrides any text between the opening and closing element tags.
The MAXLENGTH attribute for the TOOLBARTEXTBOX sets the maximum number of characters that can be entered by the user.
Applies To
TOOLBARTEXTBOX
See Also