Button::Text Property
.NET Framework (current version)
Gets or sets the text caption displayed in the Button control.
Assembly: System.Web (in System.Web.dll)
public: [BindableAttribute(true)] property String^ Text { virtual String^ get() sealed; virtual void set(String^ value) sealed; }
Property Value
Type: System::String^The text caption displayed in the Button control. The default value is String::Empty.
Implements
IButtonControl::TextUse the Text property to specify or determine the caption to display in the Button control.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.
.NET Framework
Available since 1.1
Available since 1.1
Show: