Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Visual Studio 2017

You're reading from   Mastering Visual Studio 2017 Build windows apps using WPF and UWP, accelerate cloud development with Azure, explore NuGet, and more

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787281905
Length 466 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Kunal Chowdhury Kunal Chowdhury
Author Profile Icon Kunal Chowdhury
Kunal Chowdhury
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. What is New in Visual Studio 2017 IDE? 2. What is New in C# 7.0? FREE CHAPTER 3. Building Applications for Windows Using XAML Tools 4. Building Applications for Windows 10 Using UWP Tools 5. Building Applications with .NET Core 6. Managing NuGet Packages 7. Debugging Applications with Visual Studio 2017 8. Live Unit Testing with Visual Studio 2017 9. Accelerate Cloud Development with Microsoft Azure 10. Working with Source Controls

The XAML overview

XAML (eXtensible Application Markup Language), is an XML-based markup language to declaratively create the UI of the WPF applications. You can create visible UI elements in the declarative XAML syntax and then write the code behind to perform the run-time logic.

Though it is not mandatory to use XAML to create the UI, it is well accepted to make the things easier as creation of the entire application UI is much more difficult using C# or VB.NET. It is as simple as writing an XML node with few attributes (optional) to create a simple button in the UI. The following examples show you how you can create a button using XAML:

    <Button /> 
    <Button Content="Click Here" /> 
    <Button Height="36" Width="120" /> 

You can either compile an XAML page or render directly on the UI. When you compile an XAML file, it...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime