Prev | Current Page 8 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"

. . . . . . . . . . . . . . . . . . . . . . . 28
The Code-Behind Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Properties and Events in XAML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Simple Properties and Type Converters. . . . . . . . . . . . . . . . . . . . . . . . 33
Complex Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Markup Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Attached Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Nesting Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
vii
Special Characters and Whitespace . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
The Full Eight Ball Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Using Types from Other Namespaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Loading and Compiling XAML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Code-Only . . . . . . . . . . . . . . . . .


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25