You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -24,9 +24,15 @@ By completing this tutorial, you'll become familiar with many of the tools, dial
24
24
## Prerequisites
25
25
26
26
- If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/) page to install it for free.
27
-
- Make sure the **.NET desktop development** workload is installed. You can verify this in the Visual Studio Installer.
27
+
- Make sure the **.NET desktop development** workload is installed. You can verify this in the Visual Studio Installer.
28
28
- You can use either .NET Framework or .NET Core for this tutorial. .NET Core is the newer, more modern framework. .NET Core requires Visual Studio 2019 version 16.3 or later.
29
29
30
+
## What is WPF?
31
+
32
+
WPF, or Windows Presentation Foundation, is a UI (user interface) framework that creates desktop client applications. The WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security.
33
+
34
+
WPF is part of .NET, so if you have previously built applications with .NET using ASP.NET or Windows Forms, the programming experience should be familiar. WPF uses the Extensible Application Markup Language [XAML](../../xaml-tools/xaml-overview.md) to provide a declarative model for application programming. For more information, see [WPF .NET overview](/dotnet/desktop/wpf/overview/?view=netdesktop-6.0&preserve-view=true).
35
+
30
36
## Configure the IDE
31
37
32
38
When you launch Visual Studio, the start window opens first. Select **Continue without code** to open the development environment. You'll see tool windows, the menus and toolbars, and the main window space. Tool windows are docked on the left and right sides of the application window. The search box, menu bar, and the standard toolbar are located at the top. When you load a solution or project, editors and designers appear in the central space of the application window. When you develop an application, you'll spend most of your time in this central area.
@@ -103,7 +109,7 @@ After you create the project, you can customize it. To do so, choose **Propertie
103
109
104
110
## Design the user interface (UI)
105
111
106
-
If the designer is not open, select *MainWindow.xaml* and press **Shift**+**F7** to open the designer.
112
+
If the designer isn't open, select *MainWindow.xaml* and press **Shift**+**F7** to open the designer.
107
113
108
114
We'll add three types of controls to this application: a <xref:System.Windows.Controls.TextBlock> control, two <xref:System.Windows.Controls.RadioButton> controls, and a <xref:System.Windows.Controls.Button> control.
109
115
@@ -486,7 +492,7 @@ You can test the code during debugging by adding some breakpoints. You can add b
:::imagetype="content"source="media/vs-2022/explore-ide-debug-breakpoint.png"alt-text="Screenshot of a debug session in Visual Studio. The code window for Greetings.xaml.cs shows execution stopped at a breakpoint with a line highlighted in yellow.":::
@@ -518,7 +524,7 @@ In the running app, you should see a widget that appears at the top of your wind
518
524
:::moniker-end
519
525
:::monikerrange=">=vs-2022"
520
526
521
-
:::imagetype="content"source="media/vs-2022/explore-ide-live-visual-tree.png"alt-text="Screenshot of the Live Visual Tree window, showing the tree of visual elements in HelloWPFApp.exe while it is running.":::
527
+
:::imagetype="content"source="media/vs-2022/explore-ide-live-visual-tree.png"alt-text="Screenshot of the Live Visual Tree window, showing the tree of visual elements in HelloWPFApp.exe while it's running.":::
Copy file name to clipboardExpand all lines: docs/get-started/visual-basic/tutorial-wpf.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.workload:
11
11
- "dotnet"
12
12
dev_langs:
13
13
- "VB"
14
-
ms.date: 01/07/2022
14
+
ms.date: 10/31/2022
15
15
ms.custom: "vs-acquisition, get-started"
16
16
---
17
17
# Tutorial: Create a WPF application with Visual Basic
@@ -32,6 +32,12 @@ In this tutorial, you learn how to:
32
32
> - Debug with breakpoints
33
33
> - Build a release version
34
34
35
+
## What is WPF?
36
+
37
+
WPF, or Windows Presentation Foundation, is a UI (user interface) framework that creates desktop client applications. The WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security.
38
+
39
+
WPF is part of .NET, so if you have previously built applications with .NET using ASP.NET or Windows Forms, the programming experience should be familiar. WPF uses the Extensible Application Markup Language [XAML](../../xaml-tools/xaml-overview.md) to provide a declarative model for application programming. For more information, see [WPF .NET overview](/dotnet/desktop/wpf/overview/?view=netdesktop-6.0&preserve-view=true).
40
+
35
41
## Prerequisites
36
42
37
43
::: moniker range="vs-2019"
@@ -67,7 +73,7 @@ The **WPF Designer** shows a design view and a XAML view of *MainWindow.xaml* in
67
73
68
74
::: moniker range=">=vs-2022"
69
75
1. Open Visual Studio.
70
-
76
+
71
77
1. On the start window, choose **Create a new project**.
72
78
73
79
:::image type="content" source="media/vs-2022/start-window-create-new-project.png" alt-text="Screenshot of the start window in Visual Studio 2022 with the 'Create a new project' option highlighted.":::
0 commit comments