Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TextBox.Text Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
TextBox.cs
Source:
TextBox.cs
Source:
TextBox.cs
Source:
TextBox.cs
Source:
TextBox.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the text associated with this control.

public:
 virtual property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public override string Text { get; set; }
member this.Text : string with get, set
Public Overrides Property Text As String

Property Value

The text associated with this control.

Applies to

See also


Feedback

Was this page helpful?