Skip to content

Commit 8ace8df

Browse files
committed
docs: desktop-modernize-ui
Modernize documentation by updating legacy references. Batch: desktop-modernize-ui Files changed: 1 Proposals applied: 1
1 parent 25a3c6f commit 8ace8df

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

hub/apps/desktop/modernize/ui/apply-rounded-corners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.localizationpriority: medium
88

99
# Apply rounded corners in desktop apps for Windows 11
1010

11-
Rounded corners are the most immediately noticeable feature of [Windows 11 Geometry](../../../design/signature-experiences/geometry.md). On Windows 11, the system automatically rounds top-level window corners for all inbox apps, including all UWP apps, and most other apps. However, some Win32 apps might not be rounded. This topic describes how to round your Win32 app's main window corners if the system does not round them automatically.
11+
Rounded corners are the most immediately noticeable feature of [Windows 11 Geometry](../../../design/signature-experiences/geometry.md). On Windows 11, the system automatically rounds top-level window corners for all inbox apps, including all WinUI apps, and most other apps. However, some Win32 apps might not be rounded. This topic describes how to round your Win32 app's main window corners if the system does not round them automatically.
1212

1313
> [!NOTE]
1414
> By design, apps are not rounded when maximized, snapped, running in a Virtual Machine (VM), running on a Windows Virtual Desktop (WVD), or running as a Windows Defender Application Guard (WDAG) window.

hub/apps/develop/camera/camera-quickstart-winui3.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ In this quickstart, you will learn how to create a basic WinUI camera app that d
1515

1616
The code in this walkthrough is adapted from the [MediaCapture WinUI sample on github](https://github.com/microsoft/Windows-Camera/tree/master/Samples/MediaCaptureWinUI3).
1717

18-
> [!TIP]
19-
> For the UWP version of this article, see [Display the camera preview](/windows/uwp/audio-video-camera/simple-camera-preview-access) in the UWP documentation.
20-
2118
## Prerequisites
2219

2320
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
24-
- Visual Studio 2022 or later with the **WinUI application development** workload.
21+
- Visual Studio 2026 or later with the **WinUI application development** workload.
2522

2623
## Create a new WinUI app
2724

28-
In Visual Studio, create a new project. In the **Create a new project** dialog, set the language filter to "C#" and the platform filter to "Windows", then select the "Blank App, Packaged (WinUI in desktop)" project template.
25+
In Visual Studio, create a new project. In the **Create a new project** dialog, set the language filter to "C#" and the platform filter to "Windows", then select the "WinUI Blank App (Packaged)" project template.
2926

3027

3128
## Create the UI

hub/apps/develop/camera/cameracaptureui.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ This article describes how to use the [CameraCaptureUI](/windows/windows-app-sdk
1515

1616
If you want to provide your own camera UI, or if your scenario requires more robust, low-level control of the capture operation, then you should use the [MediaCapture](/uwp/api/windows.media.capture.mediacapture) class, and implement your own capture experience. For more information, see [Basic photo, video, and audio capture with MediaCapture](basic-photo-capture.md).
1717

18-
Note that the **CameraCaptureUI** class in the [Microsoft.Windows.Media.Capture](/windows/windows-app-sdk/api/winrt/microsoft.windows.media.capture) namespace is not supported for UWP apps. For information on using the UWP version of this feature, see [Capture photos and video in a UWP app with the Windows built-in camera UI](/windows/uwp/audio-video-camera/capture-photos-and-video-with-cameracaptureui)
19-
2018
## Use the CameraCaptureUI class to capture photos
2119

2220
Create a new instance of **CameraCaptureUI**, passing in the [AppWindow.Id](/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindow.id) property of your app window. The [PhotoSettings](/windows/windows-app-sdk/api/winrt/microsoft.windows.media.capture.cameracaptureui.photosettings) property allows you to specify some constraints on the captured photo, including the file format and maximum resolution and whether UI allows the user to crop the photo after it's captured. The [VideoSettings](/windows/windows-app-sdk/api/winrt/microsoft.windows.media.capture.cameracaptureui.videosettings) property provides similar properties for video capture, such as the maximum resolution and duration and whether the UI allows the user to trim the video after it's captured.

0 commit comments

Comments
 (0)