업데이트: 2007년 11월
이 예제에서는 Text 속성을 사용하여 TextBox 컨트롤의 초기 텍스트 콘텐츠를 설정하는 방법을 보여 줍니다.
예제
<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.";
참고 항목
개념
TextBox 개요
RichTextBox 개요