Free Jobs
Reference




Dot Net Forums: ASPNET (77) C#.NET (39) VB.NET (8) AJAX (21) Silver Light (1) WCF (10) WPF (1) WWF (1) .NET 3.5 (3) SQL SERVER (38) Other (3)

Topic: How to create hello world WPF sample 3D application

To get the Posted Questions details daily in your mail Click Here

Share this Post on Facebook/Twitter/Orkut Bookmark and Share





User: rajiv100 Post Date: 19 Oct 2010 09:55

Introduction:
WPF is an offering of dotnet framework 3.5
It is related to the presentation layer.
In this article I will be discussing about it.



Main Content:
To create a WCF project in Visual studio 2008
open the visual studio and select create project
select Visual c# and then select WPF application.
It will create the follwing pages in the solution
explorer.

App.xaml and App.xaml.cs
Window1.xaml and Window1.xaml.cs
open page Window1.xaml

remove the tag from the xaml code.

add the below code in place of grid
tag.


UpDirection="0,0,1" />






TriangleIndices="0 1 3 1
2 3 0 4 3 4 7 3 4 6 7 4 5 6 0 4 1 1 4 5 1 2 6
6 5 1 2 3 7 7 6 2"/>










Then run your application.You will see three
dimentional red cube in the out put window.

Conclusion:
This is simplest of WPF sample demonstrating 3D capability of WPF.



About Writer:
Hi,I am .NET Developer From Bangaloret


Writer's Link:

Writer's Email:







Comments:
Post Comment





Similar Articles Top ArticlesLatest Articles Other Articles by this Author







www.freejobsreference.com Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)