Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This example shows how to use the Text property to set the initial text contents of a TextBox control.
Example
<TextBox Name="tbSettingText">
Initial text contents of the TextBox.
</TextBox>
tbSettingText.Text = "Initial text contents of the TextBox."
tbSettingText.Text = "Initial text contents of the TextBox.";