Text editing controls such as TextBox, RichTextBox, AutoCompleteBox, and PasswordBox allow users to input single- and multiple-line simple and rich text.
In WPF the TextBox and RichTextBox (covered in the next section) controls derive from the System.Windows.Controls.Primitives.TextBoxBase abstract base class, which provides basic text editing functionality. In Silverlight the TextBox and RichTextBox controls are derived directly from the System.Windows.Controls.Control class.
TextBoxBase provides a common set of properties and events for TextBox and RichTextBox controls, including:
AcceptsReturn. A dependency property that defines the behavior of the TextBox and RichTextBox controls when users press the ...