
Programming Windows Presentation Foundation
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Who This Book Is For
- How This Book Is Organized
- What You Need to Use This Book
- Conventions Used in This Book
- Using Code Examples
- Safari® Enabled
- How to Contact Us
- Ian's Acknowledgments
- Chris's Acknowledgments
- Hello, WPF
- WPF from Scratch
- Building Applications
- The Application Object
- XAML
- Navigation Applications
- Navigation
- Content Model
- XAML Property-Element Syntax
- Layout
- Grid Layout
- XAML Attached Property Syntax
- Controls
- Data Binding
- XAML Markup-Extension Syntax
- Data Templates
- Dependency Properties
- Resources
- XAML Mapping Syntax
- Styles and Control Templates
- Graphics
- Application Deployment
- Where Are We?
- Layout
- Layout Basics
- DockPanel
- StackPanel
- Grid
- Grid Column Widths and Row Heights
- Spanning Multiple Rows and Columns
- Consistency Across Multiple Grids
- Canvas
- Viewbox
- Text Layout
- TextBlock
- Text wrapping
- Text styles
- Text and Whitespace
- Text alignment
- TextFlow
- Paragraph
- List
- Table
- Floater
- Figure
- Common Layout Properties
- Width and Height
- MinWidth, MaxWidth, MinHeight, and MaxHeight
- HorizontalAlignment and VerticalAlignment
- Margin
- Padding
- FlowDirection
- RenderTransform and LayoutTransform
- When Content Doesn't Fit
- Custom Layout
- Where Are We?
- Controls
- What Are Controls?
- Handling Input
- Routed Events
- Halting event handling
- Determining the target
- Routed events and normal events
- Mouse Input
- Keyboard Input
- Ink Input
- Commands
- Handling commands
- Defining commands
- Invoking commands
- Enabling commands
- Built-In Controls
- Buttons
- Slider and Scroll Controls
- Text Controls
- Label
- Selectors
- Menus
- Toolbars
- Where Are We?
- Data Binding
- Without Data Binding
- Object Changes
- Control Changes
- Data Binding
- Bindings
- Implicit Data Source
- Declarative Data
- Explicit Data Source
- Value Conversion
- Binding to List Data
- Current Item
- Getting the current item
- Navigating between items
- List Data Targets
- Data Templates
- Typed data templates
- List Changes
- Sorting
- Filtering
- Data Sources
- Object Data Source
- Asynchronous data retrieval
- Passing parameters
- XmlDataSource
- XML island data
- XML data sources and item access
- XML data sources and adding items
- XML data sources and sorting
- XML data sources and filtering
- Relational Data Source
- Custom Data Sources
- Master-Detail Binding
- Where Are We?
- Styles and Control Templates
- Without Styles
- Inline Styles
- Named Styles
- The TargetType Attribute
- Reusing Styles
- Overriding Style Properties
- Inheriting Style Properties
- Setting Styles Programmatically
- Element-Typed Styles
- Data Templates and Styles
- Data Templates
- Data Templates with Style
- Triggers
- Property Triggers
- Multiple Triggers
- Multi-Condition Property Trigger
- Data Triggers
- Multi-Condition Data Triggers
- Event Triggers
- Control Templates
- Control Templates and Styles
- Template Binding
- Content Presenters
- The Real Work
- Where Are We?
- Resources
- Creating and Using Resources
- Resource Scope
- Resource References
- Reusing Drawings
- Resources and Styles
- Skins and Themes
- Binary Resources
- Global Applications
- Building Localizable Applications with XAML
- Where Are We?
- Graphics
- Graphics Fundamentals
- Integration
- Drawing Object Model
- Resolution Independence
- Scaling and rotation
- Resolution, coordinates, and "pixels"
- Shapes, Brushes and Pens
- Composition
- Shapes
- Base Shape Class
- Rectangle
- Ellipse
- Line
- Polyline
- Polygon
- Path
- Bézier curves
- Combining shapes
- Data property text format
- Brushes and Pens
- Color
- SolidColorBrush
- LinearGradientBrush
- RadialGradientBrush
- ImageBrush, DrawingBrush, and VisualBrush
- TileBrush
- ImageBrush
- DrawingBrush
- VisualBrush
- Pen
- Transformations
- Visual-Layer Programming
- Rendering On Demand
- Video and 3-D
- Where Are We?
- Animation
- Animation Fundamentals
- Animatable Properties
- Timelines
- Animation Timeline Types
- Hierarchy
- Duration
- Repetition
- Filling
- Speed
- Storyboards
- Launching Animations with Code
- Key Frame Animations
- Creating Animations Procedurally
- Where Are We?
- Custom Controls
- Custom Control Basics
- Choosing a Base Class
- Custom Functionality
- Properties
- Attached properties
- Value-change notification
- Events
- Attached events
- Commands
- Templates
- Property Aliasing
- Placeholders
- Placeholders Indicated by Properties
- Default Visuals
- Where Are We?
- ClickOnce Deployment
- A Brief History of Windows Deployment
- ClickOnce: Local Install
- Simple Publishing
- The User Experience
- The Pieces of ClickOnce
- Publish Properties
- Deploying Updates
- ClickOnce: Express Applications
- Partial Trust
- Publishing Express Applications
- Browser Hosting
- Choosing Local Install versus Express
- Signing ClickOnce Applications
- Obtaining a Certificate
- Signing with a Certificate
- Debugging a Certificate
- Awarding Publisher Trust
- Programming for ClickOnce
- Debugging ClickOnce Applications
- Command-Line Arguments
- Security Considerations
- Where Are We?
- XAML
- XAML Essentials
- Namespaces
- Generating Classes
- Properties
- Children
- Properties
- Property-Element Syntax
- Attached Properties
- Markup Extensions
- NullExtension
- TypeExtension
- StaticExtension
- StaticResource
- DynamicResource
- ArrayExtension
- Binding
- TemplateBinding
- Code-Behind
- Code in XAML
- Using Custom Types
- Custom Attached Properties
- Common Child-Content Patterns
- Panels
- Singular Content
- Items Collection
- Collections
- Loading XAML
- Parsing XAML at Runtime
- Loading BAML
- Interoperability
- WPF and HWNDs
- Hosting a Windows Form Control in WPF
- Limitations of Hosting Windows Forms in WPF
- Hosting a WPF Control in Windows Forms
- Hosting WPF in Native HWND Apps
- WPF and ActiveX Controls
- WPF and HTML
- Asynchronous and Multithreaded Programming in WPF Applications
- The WPF Threading Model
- DispatcherObject
- The Dispatcher
- Obtaining a Dispatcher
- Getting onto the Right Thread with a Dispatcher
- DispatcherOperation
- DispatcherTimer
- Multiple UI Threads and Dispatchers
- BackgroundWorker
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.