WPF base Controls
The system provides the underlying controls by default:
Text control introduction and usage Label control
Label control: General User-Descriptive text display.
The user is generally prompted when the label control is used. There is nothing special about the usage, thevalue of the label control is remembered: it is not the text but the content property.
TextBlock controls
The TextBlock control, which is a read-only text box, cannot be edited and is more suitable for displaying text that does not allow editing of the text content.
The TextBlock property that sets the value is that text supports direct assignment and data binding.
Textbox
TextBox is the basic control to support editing, we usually do not develop BS or CS desktop applications, the use of the control should be familiar. I will only introduce a few simple properties here, because in the specific project development process may use:
The properties described above are basically used in the actual project. More ways to use it, specifically in the following example
PassWordBox
This text box is typically used for user input validation or registration, and is rarely used for other modes.
For specific usage, usually in user registration or account information management.
WCF Learning (ii) a simple understanding of controls and an introduction to 4 text controls