Prev | Current Page 31 | Next

Matthew MacDonald

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

. . . . . . . . . . . . . . . . . . . . . 539
Applying Conditional Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
Evaluating Multiple Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Validation in the Data Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
Custom Validation Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
Reacting to Validation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Getting a List of Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Showing a Different Error Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . 555
The Last Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
nCONTENTS xv
301dec1fa5e91e80bc32cf05b48566eb
nCHAPTER 17 Data Templates, Data Views, and Data Providers . . . . . . . 561
Data Binding Redux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
Data Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
Separating and Reusing Templates .


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