WPF Flashcards
What is WPF?
Windows Presentation Foundation (WPF) is a next generation UI framework to create applications with a rich user experience.
What are the layers of Windows Presentation Framework (WPF)?
Managed, Unmanaged and Core
What are the two main components in the Managed layer of WPF?
Presentation Framework and Presentation Core.
What is the presentation framework component of the managed layer?
The presentation framework provides the required functionalities to build WPF applications.
What is the Presentation Core component of the Managed layer?
It is a managed wrapper around MILCore and provides the public interface for MIL.
What is the unmanaged layer?
The unmanaged layer/milcore (Media Integration Core) is unmanaged code in order to enable tight integration with DirectX.
What is the Core API layer?
The Core API layer has components used by the application to access low level API’s.
What is XAML?
Extensible Application Markup Language
What is an XAML attribute?
A value contained inside an item’s opening tag.
The Window Designer lets you do what?
Build windows graphically.
What are the three methods for creating event handlers?
- Double-clicking a control.
- Using the properties window
- Using XAML IntelliSense
What is double-clicking a control?
The first method for creating an event handler which is to simply double-click on the control on the Window Designer.
Example.
The default event for a Button is Click.
What are layout controls?
Layout controls are intended to contain and arrange other controls.
They position the controls they contain in different ways to make it easier to design
various kinds of user interfaces.