XAML Aurora XAML Editor - www.mobiform.com
Download it Today!
  Getting Started Presentation (.ppt) | Getting Started Video (.wmv)

DICTIONARY

Microsoft .NET Framework 3.0

(formerly WinFX)

Microsoft .NET 3.0 is a managed code programming model that moves beyond the capabilities of the existing .NET 2.0 Framework. .NET 3.0 will be a key component of the Microsoft Vista operating system.

There are four main "subsystems" or APIs (Application Programming Interfaces) that support .NET 3.0 – Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF) and codename "InfoCard".

WPF, the graphical "subsystem" of .NET 3.0, relies on XAML to render the graphics content that delivers a visually engaging user experience.

For more information on WPF and the other elements of the .NET Framework 3.0, visit msdn's .NET Framework Developer Centre.

Namespaces

A namespace groups objects together and "prevents naming collisions" in XML and .NET technologies. Namespaces are organized to contain like and related classes in order to make it easier to locate objects and structures during programming. Namespaces are referenced when application code is executed.

WPF’s namespaces are far-reaching, but the following are some of the most commonly used:

System.Windows

For classes and interfaces used in creating applications.

System.Windows.Controls

For UI content such as buttons, menus, panels and the Viewport 3D (for all 3D content).

System.Windows.Data

For data binding (e.g. linking properties of an object to that of another element)

System.Windows.Input

For all modes of input – for instance, like a mouse – that a user might choose for interaction with an application

System.Windows.Media

For all 2D and 3D graphics classes

System.Windows.Media.Animation

For all 2D and 3D graphics animation classes

System.Windows.Media.Media3D

For classes of objects specific to 3D like lights and meshes

System.Windows.Navigation

For the classes and interfaces used in navigating through an application

System.Windows.Resources

For all the classes that use resources (e.g. this namespace defines properties for things like style that can be accessed by an object)

System.Windows.Shapes

For classes of basic 2D shapes, such as the ellipse, path and rectangle

System.Windows.Serialization

For the conversion of the WPF object model to XAML, and vice versa

Source: David, Jean-Luc, Bill Ryan, Ron DeSerranno and Alexandra Young. "Namespaces." Professional WinFX Beta: Covers "Avalon" Windows Presentation Foundation and "Indigo" Windows Communication Foundation. Wiley Publishing Inc.: Indianapolis, IN. 2005. 6-7.

Controls: Dependency Properties

Controls are the parts of a UI which the user directly interacts with – for instance, a button. WPF supports a large set of controls, some familiar and some new.

In WPF, a control's look or behaviour can be radically changed without affecting its functionality. These transformations can be accomplished relatively easily through the use of XAML.

Background

Defines the brush for the control's background appearance (e.g. a solid colour, an image, an opacity mask)

BorderBrush

Defines the brush for the control's outline

BorderThickness



Determines the thickness of the control's BorderBrush

FontFamily, FontSize, FontStretch, FontStyle, FontWeight

Sets the type of font, size, amount of stretch, the style and the heaviness of the font on the control's text

Foreground


Defines the brush for the control's foreground appearance, which is typically the text on a control

HorizontalContentAlignment and VerticalContentAlignment

How a control's content is aligned on the relevant (e.g. horizontal or vertical) plane

Padding

Determines the amount of space around the control

Source: David, Jean-Luc, Bill Ryan, Ron DeSerranno and Alexandra Young. "Working with Controls." Professional WinFX Beta: Covers "Avalon" Windows Presentation Foundation and "Indigo" Windows Communication Foundation. Wiley Publishing Inc.: Indianapolis, IN. 2005. 20-21.

FrameworkElement

FrameworkElement is a base class (in the WPF API hierarchy) from which most visual elements derive appearance and features. The FrameworkElement also affects the functionality of controls.

The following are some of the most commonly referenced FrameworkElement properties.

Cursor

A read/write property to set or get the cursor or to establish cursor representations like MouseEvents

FlowDirection

How a panels elements should flow
For example: TopToBottomThenLeftToRight

Height and Width

Sets the height and width of an element (using double values)

HorizontalAlignment and VerticalAlignment

How a control is aligned on the relevant (e.g. horizontal or vertical) plane

Margin

The space around an element (using double values)
For example:
<Element Margin="Left,Top,Right,Bottom" />

Name

An element's unique identifier to set or get its identity

Style

Sets or gets the style of an object from a resource and is used to set a similar style across similar objects

Tag

Allows developers to associate a WPF object to another object or piece of information in their own application

ToolTip

On MouseOver, this triggers a pop-up window (in order to put a label onto a control)

Source: David, Jean-Luc, Bill Ryan, Ron DeSerranno and Alexandra Young. "FrameworkElement." Professional WinFX Beta: Covers "Avalon" Windows Presentation Foundation and "Indigo" Windows Communication Foundation. Wiley Publishing Inc.: Indianapolis, IN. 2005. 17-19.

Domain provided by OpenDomain.Org - Open Source Domains for FREE - Open Source Domains for FREE
Names of actual companies and products mentioned herein may be trademarks of their respective owners.