Windows Presentation Foundation

Hello, WPF

WPF from Scratch
Navigation Applications
Content Model
Layout
Controls
Data Binding
Dependency Properties
Resources
Styles and Control Templates
Graphics
Application Deployment
Where Are We?

Layout

Introduction
Layout Basics
DockPanel
StackPanel
Grid
Canvas
Viewbox
Text Layout
Common Layout Properties
When Content Doesn't Fit
Custom Layout
Where Are We?

Controls

Introduction
What Are Controls?
Handling Input
Built-In Controls
Where Are We?

Data Binding

Introduction
Without Data Binding
Data Binding
Binding to List Data
Data Sources
Master-Detail Binding
Where Are We?

Styles and Control Templates

Introduction
Without Styles
Inline Styles
Named Styles
Element-Typed Styles
Data Templates and Styles
Triggers
Control Templates
Where Are We?

Resources

Introduction
Creating and Using Resources
Resources and Styles
Binary Resources
Global Applications
Where Are We?

Graphics

Introduction
Graphics Fundamentals
Shapes
Brushes and Pens
Transformations
Visual-Layer Programming
Video and 3-D
Where Are We?

Animation

Animation Fundamentals
Timelines
Storyboards
Key Frame Animations
Creating Animations Procedurally
Where Are We?

Custom Controls

Introduction
Custom Control Basics
Choosing a Base Class
Custom Functionality
Templates
Default Visuals
Where Are We?

ClickOnce Deployment

A Brief History of Windows Deployment
ClickOnce: Local Install
The Pieces of ClickOnce
Publish Properties
Deploying Updates
ClickOnce: Express Applications
Choosing Local Install versus Express
Signing ClickOnce Applications
Programming for ClickOnce
Security Considerations
Where Are We?

Resources

6. Resources

WPF offers us great flexibility in how we construct an application's user interface. But with great power comes great responsibilitywe must avoid bewildering the user with a garish and inconsistent frontend. An application's user interface should be internally consistent, and while some applications differentiate themselves visually, most should be consistent with the look and feel of the user's chosen operating system visual theme.

We've already seen how styling and templates allow us to take control of our application's visuals. These features depend on the resource system in WPF to make it easy to build visually consistent applications without sacrificing flexibility. If you want to build a graphically distinctive application, the resource system provides a straightforward way to skin your applications with customized yet consistent visuals. But, by default, the resource mechanism simply ensures consistency with the system-wide OS theme chosen by the user.

In this chapter, we will look at how the resource system lets us plug in visual features where they are needed. Not only will we see how to ensure that the right look and feel is applied to our application at runtime, we will also look at how the resource system lets you reuse objects or groups of objects such as drawings in multiple places in your application. Additionally, we'll look at how to use the resource facilities to manage binary streams and how to make our applications localizable.


©2008 FAQ - WPF Labs - Discuss - Terms of Use - Privacy Policy - About WPF
- Interview Questions - Sharepoint Articles - Interview Questions Resource Library - All about LINQ - MS Knowledgebase Articles - Electronics and Hardware discussions