What is WPF (aveon)

Source: Internet
Author: User
Below these are from others' blog transit, (original address: http://baishi9411.spaces.live.com/blog/cns! 9198d7311eda82b4! 111. Entry) What is WPF

I recently had dinner with some students and asked me what I was doing. I am talking about the control on the WPF (aveon). No one has heard of WPF :-(. Asking me what is WPF is really hard for me. I generally say "WPF is a bit like the next generation of winform products", but this is obviously quite different from the actual definition of WPF. Although it has been so long, I cannot give a clear explanation. I checked it on the internet today. I think the following should be a relatively accurate definition of WPF/aveon.

The Microsoft Windows Presentation Foundation (formerly code named "aveon") provides the foundation for building applications and high fidelity experiences in Vista, blending together application UI, documents, and media content, while exploiting the full power of your computer. the functionality extends to the support for tablet and other forms of input, a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data driven UI and visualization, as well as the integration points for weaving the application experience into the Windows Shell.

 

Winfx is the next generation of Windows APIs, while WPF will be the core part of winfx for processing UI, document, media and user interaction.

 

Microsoft Web site on WPF: http://msdn.microsoft.com/windowsvista/building/presentation/

The latest February user preview can be downloaded from here: http://msdn.microsoft.com/windowsvista/getthebeta/default.aspx

There are two WPF discussion groups on msdn:

1) http://forums.microsoft.com/msdn/ShowForum.aspx? Forumid = 119.

2) http://msdn.microsoft.com/newsgroups/default.aspx? DG = Microsoft. Public. Windows. developer. winfx. aveon & lang = en & Cr = us

 

There are also several blogs about WPF:

Blog of http://blogs.msdn.com/tims/ timsneath

Http://blogs.msdn.com/atc_avalon_team/default.aspx, This is the blog of Microsoft engineering aveon group.

Blog by http://blogs.msdn.com/okoboji/ Kevin moore (WPF pm)

Http://blogs.msdn.com/tims/articles/475132.aspx Tim sneath gives a list of WPF-related blogger

Some talk and demo of http://microsoft.sitestream.com/PDC05/ pdc05

----------------

Aveon Introduction

What is aveon? It is actually a subsystem of winfx, while winfx is an extension of the. NET 2.0 Framework. Aveon is the legendary western land island of the Celtics. It is said that Arthur and his men's bodies were moved to the island after death. The title of this article "fans of awalon" actually borrowed the name of a novel by Marion Zimmer Bradley. Aveon is also a peninsula in the nefinland islands. Microsoft recently used the Geographic Name of the North Pacific region of America as the product code. Longhorn is the name of a bar at the whistler-Blackcomb ski resort in fankuver, North America. Whistler and Blackcomb are the codes of XP and longhorn server respectively.

Three Pillars of winfx

The three pillars of winfx are aveon (Graphics subsystem), winfs (storage subsystem), and indigo (communication subsystem ).

The difference between aveon and GDI is that the former uses descriptive models to describe various graphical entities: Windows, webpages, layout panels, vector graphics, reusable controls, animations, 3D objects, and scenes, the latter adopts a procedural approach.

  Object Tree

The graphic output of the avron application is different from that of GDI. It is not executed in Procedural Order, but provided by objects of different levels and their attributes. All graphic scenarios in avron are composed of objects of different levels in the avron class model, namely the object tree.

A simple example of the Object Tree is as follows:

The core of avron is a rendering engine based on graphic vector processing. It is responsible for interpreting the object tree and rendering the scenario, it can give full play to the performance of the video card (free scaling, 3D shadow, Alpha hybrid technology, mirror reflection, animation, video, etc ). But let's look at the output result of the above Object Tree step by step:

In addition to ry, The aveon class model also has various controls, such as edit box, label, button, combo box, check box, and list control. However, these controls are defined as vector graphics, so no sawtooth occurs during arbitrary scaling.

Essentially, when you create an object tree with GUI elements, you can develop the UI (User Interface) of the avron application ). In this case, the object tree is often called the UI tree.

A simple UI tree example:

After rendering with the aveon rendering engine, the output result is as follows:

Since all the UI elements are vector-based, the Panel can be scaled at will, and the widget size will also be scaled. We can also easily modify attributes such as font attributes and border color.

Even data binding can be performed in a descriptive manner: You can associate the control with a data source such as SQL database or RSS feed. when the control is displayed, the content is automatically obtained from the data source, you do not need to write any procedural code.

However, creating a UI tree is only a way to develop a graphical interface. In addition, you can use XAML.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.