Category: C #, VS2015
Date Created: 2016-06-14
Use of teaching materials: Twelve-Five National Planning Textbook "C # Program design and Application Course" (3rd edition) I. Essentials Overview
The 7th to 14th chapter of the C # program design and Application Tutorial (3rd edition) is the basis for WPF application programming, and the textbook covers a wide range of applications, and the author's aim is to give you a general idea of the various programming techniques involved in WPF from the "breadth", but it is not too deliberately reinforced in "depth". Or it's not a requirement that you have to master it all (that's what you'll learn in the future when you take part in the actual project). It is like you are going to travel, if others only tell you a tourist area, even if the introduction of this tour in depth and meticulous, you still do not know that there are other different styles of the more beautiful scenery, but others if first tell you what is more worth watching, although these places you know is not so detailed, At least you have an impression, know that there is time to go to a detailed look at it will not regret, this is the "breadth" and "depth" the most essential difference.
Therefore, the 1th time to contact WPF programming must have something to do, first the following introduction of the most basic things to understand, and then learn the 7~14 chapter a little more comprehensive of the other various techniques (although the textbook is also the basic technology, but relatively the following requirements to master more basic). Second, the commonly used interface display form
There are two kinds:
window: Windows.
Page: Pages. Iii. Common layout controls
These controls can be nested with each other.
1, Grid: Grid layout, can overlap.
2, StackPanel: Horizontal or vertical stacking layout, cannot overlap. If you want to overlap, implement its child elements in a grid.
3, DockPanel: Docking mode layout, can not overlap. If you want to overlap, implement its child elements in a grid.
4, Canvas: Coordinate positioning layout, can overlap. Iv. basic controls that are commonly used
Learn about and familiarize yourself with the basic usage of the following common controls in subsequent chapters.
1, TextBlock
2. Label
3. Button
4. TextBox
5, Password
6, GroupBox
7. CheckBox
8, RadioButton
9. ListBox
10. ComboBox
11. Image
12, MediaElement
"C #" 1.3 WPF Application Learning Essentials