Skip to content

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.

License

Notifications You must be signed in to change notification settings

wangzil88/WindowsCompositionSamples

 
 

Repository files navigation

topic languages products statusNotificationTargets
sample
csharp
windows
windows-uwp
WinComposition

Windows Composition Samples

app gif

Welcome to the Windows Composition Samples repository! This is the place for the latest code samples, demos, and developer feedback around building beautiful and engaging Universal Windows Platform 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 Windows.UI.Composition namespace. The code samples and demos in this repo are targeted at developers who are interested in experimenting, building, and providing feedback on the latest flighting Windows UI APIs.

If you’re not quite ready for the code, check out the app in the Store.

Inside this repo, you’ll find the following additional info:

If you are a developer getting familiar with the Windows UI 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, and sign up for our newsletter to always get the latest.

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.

Sample Gallery

The Sample Gallery is an application that contains many samples, each demonstrating a different concept or API. The Sample Gallery uses conditional compilation to only compile the code samples that are available in your target SDK. By default, the Sample Gallery is set to the last major platform release, however, you can retarget the Sample Gallery project file to the latest SDK that you have installed. To always get the latest, make sure you’ve got the Insider SDK.

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 developers 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.

Related Projects

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

Privacy

We collect basic usage data so we can continually work to improve the samples in this repo. To opt out, comment out or remove the following line of code from SampleGallery\Shared\AppTelemetryClient.cs : _telemetryClient = new TelemetryClient();

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.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%