teach youself WPF in 24 hours

  • Declarative UI
  • Intelligent Layout
  • Scalable Graphics
  • Templates
    WPF makes it very easy to create reusable elements for your user interfaces.
  • Binding
  • Styling
  • Triggers
    Both templates and styles in WPF support the notion of triggers
  • Animation
    The animation framework in WPF is very impressive
  • 3D
    Finally, WPF allows for some basic 3D modeling and animation.

 

CLR版本,C#版本,VB.net版本, .Net Framework版本之间是独立的。

 

You’ll also hear about the Base Class Library (BCL) and the Framework
(FCL). The BCL is a set of classes available to any language in the .NET
These classes mostly live in the System namespace. The FCL is a term t
both the BCL and the common libraries in the Microsoft namespace.

 

image

 

 

Tools for WPF

  • Visual Studio 2008
  • Visual Studio 2005, you need to install the WPF extensions for Visual Studio
  • You can also use SharpDevelop (also known as #develop). It is an open-source IDE
    for .NET, and it has support for building WPF applications in .NET 3.0.
  • The second primary tool for creating WPF applications from Microsoft is Expression
    Blend. Blend targets designers rather than developers. Blend is somewhat comparable
    to the IDE for Adobe Flash.
  • A third-party product exists for designing WPF interfaces—Aurora, by Mobiform Software. It provides a similar set of features as Expression Blend
  • Expression Design is another Microsoft product. It is for authoring vector-based
    graphical content, similar to Adobe Illustrator or Inkscape.
  • Many other applications for producing 2D and 3D art now have plug-ins available
    for exporting assets in XAML
  • Aside from the 3D tools just mentioned, at least one WPF-specific 3D content editor
    is available—ZAM 3D by Electric Rain. ZAM 3D is very similar to the Swift 3D prod-
    uct for Flash

 

Always keep in mind that
the runtime for Silverlight is different from the CLR.

WPF is part of the .NET Framework, and it is intended for building graphical
user interfaces for desktop applications. Silverlight targets Rich Internet
Applications that are hosted in a web browser. Silverlight’s runtime is different
from the standard .NET runtime. Both Silverlight and WPF use XAML for
defining interfaces.

WPF developers should be at least somewhat familiar with Microsoft’s
Expression Blend.

 

HOUR 2

Understanding XAML

As a general rule, an element in XAML is an instance of an object and attributes are
properties on that object.

 

In those cases we can use property element syntax. Property element syntax
is an alternative syntax used for providing values for complex types.

The child element is referred to as a property element. Property elements take the
form of

 

Markup extensions are indentified by the presence of curly brackets ({})

{ExtensionName Param1=Value1, Param2=Value2, Param3=Value3}

image

 

 

Partial Classes


The concept of partial classes was introduced with .NET 2.0. The essential idea is
that a single class can be defined across multiple files.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值