Export (0) Print
Expand All

How to: Set the Text Content of a TextBox Control

This example shows how to use the Text property to set the initial text contents of a TextBox control.

<TextBox Name="tbSettingText">
  Initial text contents of the TextBox.
</TextBox>
tbSettingText.Text = "Initial text contents of the TextBox.";

Community Additions

ADD
Show:
© 2014 Microsoft