C# Tutorials - Herong's Tutorial Examples
∟WPF - Windows Presentation Foundation
∟What Is WPF?
A quick introduction is provided on WPF (Windows Presentation Foundation), which is a graphical subsystem for rendering user interfaces in Windows-based applications.
What Is WPF?
WPF (Windows Presentation Foundation) is
a graphical subsystem for rendering user interfaces
in Windows-based applications.
WPF was initially released by Microsoft in 2007
as part of .NET Framework 3.0.
WPF attempts to provide a consistent programming model for building applications
and separates the user interface from business logic.
It resembles similar XML-oriented object models, such as those implemented in XUL and SVG.
Some major library (assembly) files of WPF are:
- presentationframework.dll -
Provides the end-user presentational features, including layouts,
time-dependent, story-board based animations, and data binding.
- presentationcore.dll -
Provides the core services for WPF,
including a property system that is aware of the dependencies between
the setters and consumers of the property, a message dispatching system
by means of a Dispatcher object to implement a specialized event system
and services which can implement a layout system such as measurement for UI elements.
- windowsbase.dll -
Provides application services: user interface, 2D and 3D drawing,
fixed and adaptive documents, advanced typography, vector graphics,
raster graphics, animation, data binding, audio and video.
- System.Xaml.dll -
Provides support for XAML (eXtensible Application Markup Language),
which can be used to describe the behavior and integration of UI components.
If you have .NET Framework 4.6.1 SDK installed, those WPF assembly files are
located at: "C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1".
Table of Contents
About This Book
Introduction of C# (C Sharp)
Data Type and Variables
Logical Expressions and Conditional Statements
Arrays and Loop Statements
Data Type Features
Floating-Point Data Types
Passing Parameters to Methods
Execution Environment Class
Visual C# 2010 Express Edition
Class Features
C# Compiler and Intermediate Language
Compiling C# Source Code Files
MSBuild - Microsoft Build Engine
Memory Usages of Processes
Multithreading in C#
Async Feature from C# 5
System.IO.FileInfo Class
System.Diagnostics.FileVersionInfo Class
►WPF - Windows Presentation Foundation
►What Is WPF?
System.Windows.Application Class
System.Windows.Window Class
HelloWPF.cs - First WPF Application
System.Windows.Controls Namespace
WPF Button Click Test
Compiling WPF Applications with MSBuild
What Is XAML?
Partial Classes and Partial Methods
Archived Tutorials
References
Full Version in PDF/ePUB