Creating a Drawing C# Application by Using WPF Tutorial

Creating a Drawing C# Application by Using WPF Tutorial

Creating a Drawing C# Application by Using WPF Tutorial

You might ask “What is WPF?” … so … go on …

.
.
.
.
.
.

What is WPF?

Glad you asked …

Developed by Microsoft, the Windows Presentation Foundation (or WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications. WPF, previously known as “Avalon”, was initially released as part of .NET Framework 3.0. Rather than relying on the older GDI subsystem, WPF uses DirectX. WPF attempts to provide a consistent programming model for building applications and separates the user interface from business logic. It resembles similar XML-oriented object models, such as those implemented in XUL and SVG.

WPF employs XAML, an XML-based language, to define and link various UI elements.[1] WPF applications can also be deployed as standalone desktop programs, or hosted as an embedded object in a website. 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.

WPF runtime libraries are included with all versions of Microsoft Windows since Windows Vista and Windows Server 2008. Users of Windows XP SP2/SP3 and Windows Server 2003 can optionally install the necessary libraries.[2][3]

Microsoft has released five major WPF versions: WPF 3.0 (Nov 2006), WPF 3.5 (Nov 2007), WPF 3.5sp1 (Aug 2008), WPF 4 (April 2010), and WPF 4.5 (August 2012).

Microsoft Silverlight provides functionality that is mostly a subset of WPF to provide embedded web controls comparable to Adobe Flash. 3D runtime rendering is supported in Silverlight since Silverlight 5.[4]

So, as you will have gathered, using WPF library within Microsoft Visual Studio C# (here, but could just as easily have used VB.Net … in fact you’ll see that the instructions followed were for Microsoft Visual Studio 2008 VB.Net, while we are using Microsoft Visual Studio 2010 C# … not bad, huh … that is the advantage of a mature product!).

Click on picture above to see this tutorial where you can see the creation of an InkPad simple Windows desktop drawing application.

Link to WPF more information … via Wikipedia, from where quote above came.
Link to Microsoft Visual Studio home page … via Microsoft.
Link to Microsoft Visual Studio WPF Drawing Application Tutorial … tried to exactly follow it … here.

If this was interesting you may be interested in this too.

This entry was posted in eLearning, GUI, Tutorials, Visual Studio and tagged , , , , , , . Bookmark the permalink.

31 Responses to Creating a Drawing C# Application by Using WPF Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *