WPF recipes in C♯ 2008 : a problem-solution approach /

Looks at the features and functions of Windows Presentation Foundation, covering such topics as using standard control, data binding, working with styles, multithreading, working with 2D and 3D graphics, and creating animation.

Saved in:
Bibliographic Details
Main Author: Noble, Sam.
Other Authors: Bourton, Sam., Jones, Allen.
Format: eBook
Language:English
Published: Berkeley, CA : New York : Apress ; Distributed to the Book trade worldwide by Springer-Verlag New York, ©2008.
Series:Expert's voice in .NET.
Subjects:
Online Access:CONNECT
CONNECT
Table of Contents:
  • Cover
  • Contents
  • About the Authors
  • About the Technical Reviewer
  • Acknowledgments
  • CHAPTER 1 Building and Debugging WPF Applications
  • 1-1. Create a Standard WPF Application
  • 1-2. Handle an Unhandled Exception
  • 1-3. Create and Use a Dependency Property
  • 1-4. Create a Read-Only Dependency Property
  • 1-5. Override a Dependency Property's Metadata
  • 1-6. Add a PropertyChangedValueCallback to Any Dependency Property
  • 1-7. Add Validation to a Dependency Property
  • 1-8. Create and Use an Attached Property
  • 1-9. Create a Dependency Property with Property Value Inheritance
  • 1-10. Merge Two Resource Dictionaries
  • 1-11. Define Application-wide Resources
  • 1-12. Reference a ResourceDictionary in a Different Assembly
  • 1-13. Share Properties Throughout an Application
  • 1-14. Create a Single-Instance Application
  • 1-15. Manage Multiple Windows in an Application
  • 1-16. Debug Data Bindings Using an IValueConverter
  • 1-17. Debug Bindings Using Attached Properties
  • CHAPTER 2 Working with Windows, Forms, and Layout Management
  • 2-1. Automatically Size the Main Application Window to Accommodate Its Content
  • 2-2. Arrange UI Elements in a Horizontal or Vertical Stack
  • 2-3. Arrange UI Elements into Automatically Wrapping Rows or Columns
  • 2-4. Dock UI Elements to the Edges of a Form
  • 2-5. Arrange UI Elements in a Grid
  • 2-6. Position UI Elements Using Exact Coordinates
  • 2-7. Display Content in a Multitabbed User Interface
  • 2-8. Display Content in a Scrollable User Interface
  • 2-9. Display Content in Resizable Split Panel
  • 2-10. Display Content in an Expander
  • 2-11. Place a Group Box Around a Set of UI Elements
  • 2-12. Display a Message Box
  • 2-13. Display a Pop-up Window
  • 2-14. Display a Border
  • 2-15. Display a Menu
  • 2-16. Display a Toolbar
  • 2-17. Display a Status Bar
  • 2-18. Control the Size of UI Elements in a Form
  • 2-19. Define the Tab Order of UI Elements in a Form
  • CHAPTER 3 Using Standard Controls
  • 3-1. Display Control Content Surrounded by Braces
  • 3-2. Display Simple Text
  • 3-3. Display a Static Image
  • 3-4. Get Simple Text Input from a User
  • 3-5. Get Rich Text Input from a User
  • 3-6. Load or Save the Content of a RichTextBox
  • 3-7. Display a Password Entry Box
  • 3-8. Spell Check a TextBox or RichTextBox Control in Real Time
  • 3-9. Handle a Button Click
  • 3-10. Generate Click Events Repeatedly While a Button Is Clicked
  • 3-11. Set a Default Button
  • 3-12. Provide Quick Keyboard Access to Text Boxes
  • 3-13. Provide Quick Keyboard Access to Buttons
  • 3-14. Get User Input from a Slider
  • 3-15. Display a Context Menu
  • 3-16. Display a Tool Tip on a Control
  • 3-17. Display a Tool Tip on a Disabled Control
  • 3-18. Control the Display Duration and Position of a Tool Tip
  • 3-19. View and Select Items from a Set of Radio Buttons
  • 3-20. View and Select Items from a Set of Check Boxes
  • 3-21. View and Select Items Using a Tree
  • 3-22. View and Select Items Using a List
  • 3-23. Dynamically Add Items to a List
  • 3-24. View and Select Items Using a Combo Box
  • 3-25. Display a Control Rotated
  • CHAPTER 4 Creating User and Custom Controls
  • 4-1. Create a User Control
  • 4-2. Set the Content Property of a User Control
  • 4-3. Add Properties to a User Control
  • 4-4. Add Events to a User Control
  • 4-5. Support Application Commands in a User Con.