Skip to Main Content
Fluent Visual Basic®
book

Fluent Visual Basic®

by Rebecca M. Riordan
October 2011
Intermediate to advanced content levelIntermediate to advanced
880 pages
14h 44m
English
Sams
Content preview from Fluent Visual Basic®

17. Dependency Properties

In the last chapter you started to get your teeth into some real WPF programming projects using XAML and VB. Using XAML to define an application’s interface declarative certainly sets WPF programming apart from older, code-only platforms. But as cool as declarative programming is, it’s perfectly possible to ignore XAML completely and write a WPF application completely in VB.

The same isn’t true of the subject of this chapter: dependency properties. Take a look at the WPF class hierarchy from the last chapter. Every WPF class descends from DependencyObject; in a sense that’s what makes a class part of WPF. And what does DependencyObject do? It implements the dependency property system.

Unlike standard .NET properties ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visual Basic® 2012 How to Program, Sixth Edition

Visual Basic® 2012 How to Program, Sixth Edition

Paul Deitel, Abbey Deitel
Microsoft® Visual Basic® 2010 Developer’s Handbook

Microsoft® Visual Basic® 2010 Developer’s Handbook

Klaus Löffelmann and Sarika Calla Purohit

Publisher Resources

ISBN: 9780132900577Purchase book