May 2010
Intermediate to advanced
1272 pages
61h 18m
English
TextBoxAnother typical control that is also provided by WPF is the TextBox. You declare one as follows:
![]()
The most common event is TextChanged that is raised when the text is modified and that can be handled as follows:

The e object of type TextChangedEventArgs offers a Changes collection property that can be iterated to get a list of changes that affect the control’s content. The TextBox control provides support for undo actions (that is, Ctrl+Z) and a SelectedText property that enables you to easily retrieve in VB code the currently selected text ...
Read now
Unlock full access