Intro Flashcards
Chapter 1
What two parts is WPF made of?
.dll libraries
API to access those libs
What rendering engine is used in WPF?
Direct3D
WPF graphics
Supporta vector graphics, 2D and 3D shapes.
Shapes can be filled with solid colors, gradients, images, or even video.
Shapes can behave like controls, including such things as hit testing and keyboard and mouse input.
WPF animation
WPF has built-in support for animation. Animation refers to changing the display in small ways very quickly over time so that an object appears to move or change.
WPF styles
A style is a named set of property settings. When you apply a style to an element, it sets that element’s properties to the values set in the style.
WPF template
A template is similar to a style. A control template determines how a control is displayed. In WPF, however, the “look” of a control is not built into the operating system but is just a template that you can change.
WPF dpi independence
- Instead of using the density of actual pixels to laying out the UI, WPF uses “deviceindependent pixels,” or dip.
- Each dip represents 1/96 of an inch—regardless of how many actual pixels that length corresponds to.
- If the user changes the dpi from 96 to 120—instead of the size changing, WPF can use the greater density of pixels to render greater detail