Recently in Tech Notes Category
Chapter 9 - Layout Controls Use "Alt" to bring objects "inside" the layouts
- Grid - objects inside are "relative": properties of objects change as the properties of the grid changes. Use "locks" to divide it into rows and columns.
- Canvas - objects inside are "absolute": properties do not change.
- Dock
- Stack - you can "stack" objects inside. for a space between use "margins"
- Wrap
Chapter 11 - Animation and Interactivity
- Timelines
- Keyframes
- Motion paths
- Triggers
- Manipulating animations in XAML
- Control styling
- Using SimpleStyles
- Creating a UserControl (right click on project -> add new item -> *.xaml)
Microsoft Expression Studio
Microsoft Expression Studio is a suite of tools for designing and building web and Windows client applications and rich digital media contents.
The suite consists of:
- Microsoft Expression Web: Website designer and HTML editor.
- Microsoft Expression Blend + SketchFlow: Visual user interface builder for Windows Presentation Foundation and Silverlight applications.
- Microsoft Expression Design: Raster and vector graphics editor.
- Microsoft Expression Encoder: Digital video encoder for authoring VC-1 and H.264/MPEG-4 AVC contents.
download the presentation
Windows Presentation Foundation
WPF is a platform for developing and running .NET programs. It consists of two elements:
- A set of DLLs designed for creating programs with the following characteristics:
- User interfaces
- Data binding
- A public application programming interface (API), allowing our programs to access those DLLs.[1]
More definitions:
- WPF - user interface platform - for collaboration of designers and developers to create software [5]
- WPF builds on a vector based rendering engine [4]
- WPF is a presentation system for building applications
- WPF is Microsofts' UI framework to create applications with rich user experiences. WPF separates the appearance of an user interface from its behavior. The appearance is generally specified in the Extensible Application Markup Language (XAML), the behavior is implemented in a managed programming language like C# or Visual Basic. The two parts are tied together by databinding, events and commands. [4]
Dynamic-link library
A DLL is a library that contains code and data that can be used by more than one program at the same time.[2]
Application Programming Interface
An application programming interface (API) is an interface implemented by a software program that enables it to interact with other software. It facilitates interaction between different software programs similar to the way the user interface facilitates interaction between humans and computers.[3]
Extensible Application Markup Language
XAML - declarative XML-based UI language. (New markup language to represent user interfaces.) Some other notes:
- HTML, are the evidence of the success of using markup for displaying user interfaces. (A key to the success of markup syntax is the ability to be at once human readable and machine readable.)
- XML-based markup languages are well-suited to represent hierarchies and parent/child/sibling relationships that appear in a user interface
- Microsoft's Silverlight, a cross-platform plug-in for creating rich interactive Web experiences, also uses XAML.
Declarative programming
Declarative programming is a way of specifying what a program should do, rather than specifying how to do it. Most computer languages are based on the steps needed to solve a problem, but some languages only indicate the essential characteristics of the problem and leave it to the computer to determine the best way to solve the problem. The former languages are said to support imperative programming whereas the latter support declarative programming.[6]
WPF tools
Microsoft provides two development tools for WPF applications. One is Visual Studio (code and XAML editing, rare support for graphics), made for developers and the other is Expression Blend (graphics, rare support for code and XAML editing) made for designers.
References
Testing whether a graph is acyclic
To test a graph for being acyclic:
- If the graph has no nodes, stop. The graph is acyclic.
- If the graph has no leaf, stop. The graph is cyclic.
- Choose a leaf of the graph. Remove this leaf and all arcs going into the leaf to get a new graph.
- Go to 1.
