How develop my first WPF Application.(Easy Step)

Posted on 3:25 AM
  1. Open visual studio 2008 IDE
  2. File>New>Project(Open New dialog box)>visual c#(Select)>Wpf Application(Select)
  3. Now in the Designer window (Window1.xaml) find the following line 'Title="Window1" Height="300" Width="300">' Edit Title name like 'Title="Helloworld" Height="300" Width="300">' then save it and press F5 button(ur application will be run)[Note:Title,indicate the title bar name.Height,width,indicate ur application or form size.] 

What we need For Develop WPF applicaation

Posted on 2:31 AM
  1. First we need Tools like Visual Studio 2008 or upper Version (u can easily download it from Microsoft.com)
  2. Secondly need basic knowledge of C# language(If u don't know,don't fear it's IDE,It is also possible to develop with other language but I like csharp )
Now,this is enough.

Features of WPF (Windows Fountation Program)

Posted on 3:24 AM



  • Graphics, including desktop items like windows, are rendered using Direct3D,GUI base.
  • In WPF's enabled vector graphics and all element are used without loss in pixel,whichh are in recent time more important. 
  • With the exception of Silverlight, Direct3D integration are allows for 3D surfaces natively.





  • WPF has a built-in set of data services to enable application developers to bind and manipulate data within applications.
  • LINQ queries, including LINQ to XML, can also act as data sources for data binding.
  • Binding of data has no bearing on its presentation. WPF provides data templates to control presentation of data.
  • A set of built-in controls is provided as part of WPF, containing items such as button, menu, grids, and list box.
  • Features retained mode graphics. Repainting the display isn't always necessary




  • The WcF provides an integrated system for building user interfaces with common media elements like vector and raster images, audio, and video. WPF also provides an animation system and a 2D/3D rendering system
  • WPF provides shape primitives for 2D graphics along with a built-in set of brushes, pens, geometries, and transforms.
  • The 3D capabilities in WPF are a subset of the full-feature set provided by Direct3D. However, WPF provides tighter integration with other features like user interfaces, documents, and media. This makes it possible to have 3D user interfaces, 3D documents, or 3D media.
  • WPF supports the video formats WMV, MPEG and some AVI files by default, but since it has Windows Media Player running beneath, WPF can use all the codecs installed for it.




  • WPF supports time-based animations, in contrast to the frame-based approach. This decouples the speed of the animation from how the system is performing.
  • WPF supports low level animation via timers and higher level abstractions of animations via the Animation classes.
  • Animations can be grouped into Storyboards.
  • Animations can be triggered by external events, including user action
  • Presentation timers are initialized and managed by WPF
  • Animation effects can be defined on a per-object basis, which can be accessed directly from XAML markup.




  • WPF 3.0 provides for Bitmap effects (BitmapEffect class), which are raster effects applied to a Visual. These raster effects are written in unmanaged code and force rendering of the Visual to be performed on the CPU and not hardware accelerated by the GPU. Bitmap Effects were deprecated in .NET 3.5 SP 1
  • NET Framework 3.5 SP1 adds the Effect class, which is a Pixel-Shader 2.0 effect that can be applied to a visual, which allows all rendering to remain on the GPU.
  • The Effect class is extensible, allowing applications to specify their own shader effects.

  • What is WPF(Windows Presentation Foundation)?

    Posted on 2:00 AM
    Windows Presentation Foundation(WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications.So it mainly used for Devloping window based application as well as Web based application.
    It is a part of dot net framework .WPF attempts to provide a consistent programming model for building applications and provides a separation between the user interface and the business logic.

    WPF based on XAML(Extensible Application Markup Language)WPF aims to unify a number of common user interface elements, such as 2D/3D rendering, fixed and adaptive documents, typography, vector graphics, runtime animation, and pre-rendered media. These elements can then be linked and manipulated based on various events, user interactions, and data bindings.

    In technical or development level implementation, it also has the huge change as it is using XAML oriented structures where GUI objects,attributes are presented with XML type tag,attributes etc. It doesn't requires C# based code for the creation/initialization of the graphical user interface. But that doesn't mean either that we won't be able to use c# to create/manipulate controls, of course we will be able to do that.Also, Silverlight utilizes wpf for embedded web controls.