VB.NET WPF Tutorial : Make WPF Desktop Application

VB.NET WPF Tutorial for beginners : how to create first application using Windows Presentation Foundation (WPF) in Visual Studio 2015 and VB.NET programming language?

VB.NET WPF Tutorial - WPF (Windows Presentation Foundation) is a new technology which was released by Microsoft in conjunction with the .NET Framework 3.0 (current version is 3.5). In addition to the .NET 3.0 WPF also includes several new technologies i.e., WF (Workflow Foundation) for modeling and WCF (Windows Communication Foundation) which is the development of Web Services.

WPF is an extension of Windows Presentation Foundation. A technology other than the Visual Studio Community that provides an option to the developers for the user interface. This unique technology is composed of  the XAML tag (Extensible Application Markup Language). WPF technology is a Latest GUI Framework from Microsoft for the .NET Framework and Microsoft also make lots of software with these technologies including Visual Studio. You can use WPF Windows Application or Web Application (Silverlight).

Please Read :
  1. VB.NET SQLite Tutorials : CRUD (add,update,delete) Operations ADO.NET
  2. VB.NET Tutorials Create Connections to SQLite Connection String

XAML (Extensible Application Markup Language)

WPF uses XAML to represent the UI and user interaction. XAML is constructed from XML and writing similar to XHTML frequently you use in creating web-based applications. XAML also supports the principles of the code-behind as in the application ASP.NET. By using XAML, designers and programmers can work together in developing applications, first create the UI design designer then programmer continue by adding the code in a language that is supported by such C #/.NET and VB.NET.

Create First WPF Application using VB.NET

Open your visual studio and create New WPF Project.

VB.NET WPF Tutorial
Click on Visual Basic -> Select Windows -> Verify target framework version -> Select WPF Application -> Specify project Name, Location -> Click on OK

VB.NET WPF Tutorial
Change window title either from Properties window or XAML Editor. You can see a reflection in Designer view. There are lots of properties available to change design of the window according to our requirements.

VB.NET WPF Tutorial

Click on Toolbox, Several controls are available in toolbox like Button, CheckBox, ComboBox, etc. You can simply design your surface by Click and drag a control from the Toolbox to the design surface. Click and drag Button control to the design surface.

Source Code Hello World WPF

Double Click On the Button1 and write this source code

Class MainWindow
    Private Sub button_Click(sender As Object, e As RoutedEventArgs) Handles button.Click
        MsgBox("Hello World!")
    End Sub
End Class

Now Run the application by clicking on Start Debugging (F5) button.


Feel free to code it up and send us a pull request.

Hi everyone, let's me know how much this lesson can help your work. Please Subscribe and Follow Our Social Media 'kodeajaib[dot]com' to get Latest tutorials and will be send to your email everyday for free!, Just hit a comment if you have confused. Nice to meet you and Happy coding :) all ^^

Follow by E-Mail


ADO.NET,3,Ajax,6,Android,9,AngularJS,4,ASP.NET,4,Blogger Tutorials,7,Bootstrap,7,C++,1,Codeigniter,2,Cplusplus,6,Crystal Report,6,CSharp,25,Ebook Java,2,FlyExam,1,FSharp,3,Game Development,2,Java,35,JDBC,2,Laravel,84,Lumen,2,MariaDB,2,Ms Access,3,MySQL,31,ODBC,6,OleDB,1,PHP,14,PHP Framework,5,PHP MYSQLI,9,PHP OOP,5,Python,8,Python 3,4,SQL Server,4,SQLite,4,Uncategorized,5,Vb 6,2,Vb.Net,89,Video,48,Vue Js,4,WPF,2,Yii,3,
KODE AJAIB: VB.NET WPF Tutorial : Make WPF Desktop Application
VB.NET WPF Tutorial : Make WPF Desktop Application
VB.NET WPF Tutorial for beginners : how to create first application using Windows Presentation Foundation (WPF) in Visual Studio 2015 and VB.NET programming language?
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy