Windows Composition Samples the place for getting the latest code samples and demos using Windows.UI.Xaml and Windows.UI.Composition to make beautiful Universal Windows Platform applications.
Перейти к файлу
Jeffrey Stall (MS) b99e063402 Fixes
Fixes:
1. Updates from .NET 5 (not supported) to .NET 6 (LTS)
2. Removing UWP-only APIs
3. Fixing modern C# compiler warnings.
2024-04-22 13:27:24 -07:00
.github Update pull_request_template.md 2018-08-20 14:41:58 -07:00
Demos Fix typo 2023-08-02 04:22:10 +08:00
ExpressionBuilder Fixes 2024-04-22 13:27:24 -07:00
SampleGallery Fixes 2024-04-22 13:27:24 -07:00
SamplesCommon Fixes 2024-04-22 13:27:24 -07:00
SamplesNative WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00
.gitattributes Updating the readme 2015-05-07 14:38:18 -07:00
.gitignore WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-08-20 14:46:19 -07:00
CodeAnalysis.ruleset WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00
Directory.Build.props WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00
LICENSE.txt Update LICENSE.txt 2015-05-14 15:02:19 -07:00
PrivacyPolicy.md Merged PR 430284: Merge pfelts/DesignUpdates to future 2017-05-09 05:23:03 +00:00
README.md Add correct metadata to the README (#357) 2022-03-22 13:39:21 -07:00
SECURITY.md Microsoft mandatory file 2023-06-12 19:02:12 +00:00
STARTUP.md WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00
SampleGallery.sln WindowsAppSDK Version (#356) 2021-12-02 15:52:27 -08:00

README.md

name page_type languages products urlFragment statusNotificationTargets
Windows Input and Composition sample sample
csharp
windows
windows-app-sdk
composition
WinComposition

NOTE

We've switched over the sample project to consume from the Windows App SDK. For the Universal Windows Platform version of the Windows Composition Samples, please visit this release.

Windows Input and Composition Samples

app gif

Welcome to the Windows App SDK Input and Composition Samples! For those of you familiar with the Windows Composition Samples, these samples are very similar but instead built on the APIs in the WinAppSDK (to learn more about the WinAppSDK, visit here), and they also feature new input APIs. This is the place for the latest code samples, demos, and developer feedback around building beautiful and engaging WinUI3 apps. This repo focuses on the platform building blocks that make up the Fluent Design System, with emphasis on creating UI using APIs in the Microsoft.UI.Composition and Microsoft.UI.Input namespaces.

Inside this repo, youll find the following additional info:

If you are a developer getting familiar with the WinUI 3.0 platform, want to build beautiful and innovative UI experiences, and don't mind a few bugs here and there, then this is the place for you!

We also want to see what inspiring UX you're building, so feel free to reach out on Twitter @WindowsUI.

Project Structure

The following outlines the key folders for the project.

Demos

The Demos folder contains standalone code demos that are focused on combining many concepts and feature sets into interesting user experiences.

The Sample Gallery is an application that contains many samples, each demonstrating a different concept or API. The WinAppSDK samples automatically work downlevel to Windows 10 version 1809 (build 17763) which means as long as your Windows OS version is 1809 or higher, you'll automatically get all the latest features.

Samples Common

These are early reference implementations, prototypes, and utilities the team has built over the course of developing our demos and code examples. This is a set of common code patterns that are shared across code samples and demos.

ExpressionBuilder

A set of C# classes enabling you to build ExpressionAnimations in a more type-safe environment.

Samples Native

A native library used to access some lower-level functionality that has no WinRT projections.

Contributing

We encourage and welcome community involvement and contribution in this project. You'll find some details and guidelines for contribution in the contributing readme.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

This project is focused on experimenting with Microsoft.UI.Composition and Microsoft.UI.Input APIs to create beautiful, unique, and engaging user experiences. If instead youre looking to get started with higher-level UI concepts with heavier focus on XAML-based controls, check out related projects:

Privacy

These samples do not collect any telemetry. A detailed privacy agreement can be found here or in the 'Settings' section of the app.

Images

The images used in this application are sourced from a variety of Microsoft employees, but we'd like to specially thank Conroy for his contribution. See more of his content here.