Windows 應用程式的功能和技術Features and technologies for Windows apps

無論您正在建置何種類型的應用程式,或是以哪個裝置作為目標,Windows 都會支援許多功能,而這些功能正是重要應用程式案例的關鍵建置組塊。No matter what type of app you are building or device you are targeting, Windows supports many features that are key building blocks for important app scenarios. 其中一些功能會以不同的方式顯示在通用 Windows 平台 (UWP)、Win32 (Windows API) 和其他應用程式平台中。Some of these features are exposed to the Universal Windows Platform (UWP), Win32 (Windows API), and other app platforms in different ways. 下列文章協助您了解如何在不同應用程式平台中支援特定 Windows 功能,以及如何開始在您的程式碼中使用這些功能。The following articles help you understand how certain Windows features are supported in different app platforms and how to get started using the features in your code.

本文提供量身打造的文章清單,以深入閱讀如何存取 UWP、Win32 (Windows API)、WPF 和 Windows Forms 應用程式平台中的重要 Windows 功能與技術。This article provides a tailored list of articles to read more about how you can access important Windows features and technologies in the UWP, Win32 (Windows API), WPF, and Windows Forms app platforms. 如需每個平台開發功能的完整資訊,請參閱下列資源:For complete information about the development features of each platform, see the following resources:

重要的 Windows 功能和技術Key Windows features and technologies

下列各節強調幾個重要的 Windows 功能和技術,可讓您為客戶提供現代化和引人注目的體驗。The following sections highlight several important Windows features and technologies that enable you to deliver modern and deliver compelling experiences to your customers.

Windows InkWindows Ink

Surface 手寫筆

Windows Ink 平台搭配手寫筆裝置之後,使用者就可以自然的方式建立數位手寫筆記、繪圖以及註解。The Windows Ink platform, together with a pen device, provides a natural way to create digital handwritten notes, drawings, and annotations. 此平台支援擷取數位板輸入做為筆墨資料、產生筆墨資料、管理筆墨資料、在輸出裝置上將筆墨資料轉譯為筆劃,以及透過手寫辨識將筆墨轉換為文字。The platform supports capturing digitizer input as ink data, generating ink data, managing ink data, rendering ink data as ink strokes on the output device, and converting ink to text through handwriting recognition.

如需在 Windows 應用程式中以不同方式使用 Windows Ink 的詳細資訊,請參閱 Windows InkFor more information about the different ways to use Windows Ink in Windows apps, see Windows Ink.

語音互動Speech interactions

以 SGRS 文法檔為基礎之限制的初始辨識畫面

以 SGRS 文法檔為基礎之限制的最終辨識畫面

Windows 提供多種方式,將語音辨識和文字轉換語音 (也稱為 TTS,或語音合成) 直接整合到應用程式的使用者體驗。Windows provides many ways to integrate speech recognition and text-to-speech (also known as TTS, or speech synthesis) directly into the user experience of your app. 語音可以成為使用者與您應用程式互動的可靠又有趣方式,可補充或甚至取代鍵盤、滑鼠、觸控和手勢。Speech can be a robust and enjoyable way for people to interact with your app, complementing, or even replacing, keyboard, mouse, touch, and gestures.

如需在 Windows 應用程式中以不同方式使用語音互動的詳細資訊,請參閱語音互動For more information about the different ways to use speech interactions in Windows apps, see Speech interactions.

Windows AIWindows AI

Windows AI

我們提供了數種不同的 AI 解決方案,可讓您用來增強 Windows 應用程式。We offer several different AI solutions that you can use to enhance your Windows applications. 透過 Windows Machine Learning,您可以將定型的機器學習模型整合至您的應用程式,並在本機裝置上執行。With Windows Machine Learning, you can integrate trained machine learning models into your apps and run them locally on the device. Windows Vision Skill 可讓您使用預先建置的程式庫來完成一般影像處理工作,或建立您自己的自訂解決方案。Windows Vision Skills allows you to use pre-built libraries to accomplish common image processing tasks, or create your own custom solutions. DirectML 提供低階 DirectX 樣式 API,可讓您充分利用硬體。DirectML provides low-level, DirectX-style APIs that let you take full advantage of the hardware.

如需在 Windows 應用程式中以不同方式整合 AI 的詳細資訊,請參閱 Windows AIFor more information about the different ways to integrate AI in Windows apps, see Windows AI.

依平台的功能和技術Features and technologies by platform

下列各節提供有用的連結,以深入了解如何與主要應用程式平台中的核心 Windows 功能和技術整合:UWP、Win32 (Windows API)、WPF 和 Windows Forms。The following sections provides useful links to learn more about how to integrate with core Windows features and technologies from our main app platforms: UWP, Win32 (Windows API), WPF, and Windows Forms.

使用者介面和協助工具User interface and accessibility

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
設計Design

配置Layout

控制項Controls

輸入Input

Tiles

視覺層Visual layer

XAML 平台XAML platform

啟動、繼續和背景工作Launching, resuming, and background tasks

Windows 協助工具Windows accessibility

傳統型使用者介面Desktop user interface

傳統型環境和命令介面Desktop environment and shell

Windows 控制項Windows controls

傳統型應用程式中的 UWP 控制項 (XAML Islands)UWP controls in desktop apps (XAML Islands)

傳統型應用程式中的 UWP 視覺層UWP Visual layer in desktop apps

Windows 和訊息Windows and messages

功能表和其他資源Menus and other resources

高 DPIHigh DPI

協助工具Accessibility

WPF 中的視窗Windows in WPF

瀏覽概觀Navigation overview

WPF 中的 XAMLXAML in WPF

控制項Controls

視覺層程式設計Visual layer programming

輸入Input

協助工具Accessibility

建立 Windows FormCreate a Windows Form

控制項Controls

對話方塊Dialog boxes

使用者輸入User input

Windows Forms 協助工具Windows Forms accessibility

音訊、視訊和圖形Audio, video, and graphics

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
音訊、視訊和相機Audio, video, and camera

媒體播放Media playback

視覺層Visual layer

XAML 平台XAML platform
音訊與視訊Audio and video

圖形和遊戲Graphics and gaming

DirectXDirectX

Direct2DDirect2D

Direct3DDirect3D

Windows GDIWindows GDI

GDI+GDI+
圖形Graphics

多媒體Mutimedia
圖形和繪圖Graphics and drawing

SoundPlayer 類別SoundPlayer class

資料存取和應用程式資源Data access and app resources

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
資料存取Data access

資料繫結Data binding

檔案、資料夾和媒體櫃Files, folders, and libraries

應用程式資源App resources
資料存取與儲存Data access and storage

本機檔案系統Local file systems

資源概觀Resource overviews
資料與模型化Data and modeling

資料繫結Data binding

.NET 應用程式中的資源Resources in .NET apps

應用程式資源、內容和資料檔案Application resource, content, and data files
資料與模型化Data and modeling

資料繫結Data binding

.NET 應用程式中的資源Resources in .NET apps

應用程式設定Application settings

裝置、文件和列印Devices, documents, and printing

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
啟用裝置功能Enable device capabilities

列舉裝置Enumerate devices

感應器Sensors

藍牙Bluetooth

列印與掃描Printing and scanning

NFCNFC
感應器 APISensor API

列印Printing

UPnP APIUPnP APIs
列印和列印系統管理Printing and print system management 列印支援Print support

系統、網路和電源System, network, and power

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
列舉裝置Enumerate devices

取得電池資訊Get battery information

執行緒和非同步程式設計Threading and async programming

網路和 Web 服務Networking and web services
系統服務System services

記憶體管理Memory management

電源管理Power management

處理序和執行緒Processes and threads

網路功能和網際網路Networking and Internet

Windows 系統資訊Windows system information
執行緒模型Threading model

以 .NET Framework 進行網路程式設計Network programming in the .NET Framework
系統資訊System Information

電源管理Power management

以 .NET Framework 進行網路程式設計Network programming in the .NET Framework

Windows Forms 中的網路功能Networking in Windows Forms

封裝和部署Packaging and deployment

UWPUWP Win32 (Windows API)Win32 (Windows API) WPFWPF Windows FormsWindows Forms
封裝應用程式Packaging apps

MSIXMSIX

應用程式套件資訊清單結構描述App package manifest schema
封裝 Windows 傳統型應用程式 (MSIX)Package Windows desktop apps (MSIX)

應用程式安裝和維護Application installation and servicing

Windows InstallerWindows Installer
封裝 Windows 傳統型應用程式 (MSIX)Package Windows desktop apps (MSIX)

部署 .NET Framework 和應用程式Deploying the .NET Framework and applications

部署 WPF 應用程式Deploying a WPF application
封裝 Windows 傳統型應用程式 (MSIX)Package Windows desktop apps (MSIX)

部署 .NET Framework 和應用程式Deploying the .NET Framework and applications

Windows Forms 的 ClickOnce 部署ClickOnce Deployment for Windows Forms