Prev | Current Page 28 | Next

Matthew MacDonald

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

. . . . . . . . . . . . . . . . . . . . . 459
The Chrome Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Dissecting Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Creating Control Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
A Simple Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Template Bindings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Template Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Organizing Template Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Refactoring the Button Control Template . . . . . . . . . . . . . . . . . . . . . 474
Applying Templates with Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Applying Templates Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
User-Selected Skins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
nCONTENTS xiv
Building More Complex Templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Multipart Templates . . . . . . . . . . . . . . . .


Pages:
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40