This app demonstrates the controls available in WinUI and the Fluent Design System.
Перейти к файлу
Mgg sk 2965bc4d81
Add a icon to the exe file (#1604)
Added a icon to the apps exe file.

## Description
Set the exe icon in the project properties to
"Assets\Tiles\GalleryIcon.ico"

## Motivation and Context
Don't know why the exe doesn't have an icon.
Fixed this issue: https://github.com/microsoft/WinUI-Gallery/issues/1600

## How Has This Been Tested?
No testing needed.

## Screenshots (if appropriate):

![image](https://github.com/user-attachments/assets/3edf60e8-b517-4448-851a-a6df71945a9d)

## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
2024-08-27 10:30:50 -07:00
.github add 23H2 and 24H2 in forms (#1495) 2024-04-01 16:06:30 -07:00
README_Images Update ReadMe (#1538) 2024-05-21 05:52:25 -07:00
SharedContent/cs Adds a minimal EditorConfig and resolves a rule violation. (#343) 2020-02-20 13:25:01 -08:00
UITests Update link to point to WinUI 3 docs (#1510) 2024-04-24 14:25:11 -07:00
WinUIGallery Add a icon to the exe file (#1604) 2024-08-27 10:30:50 -07:00
WinUIGalleryUnitTests Update to support submodule builds (#1498) 2024-03-14 09:56:01 -07:00
build Update script again 2023-08-24 11:25:35 -07:00
packagestore add a readme to packagestore to ensure its existence (#1152) 2023-01-05 17:14:29 -05:00
.gitignore Add a unit test project (#1444) 2024-02-06 16:58:05 -08:00
Directory.Build.props Update to support submodule builds (#1498) 2024-03-14 09:56:01 -07:00
LICENSE Initial commit 2018-11-01 11:24:21 -07:00
README.md Fix landing image (#1547) 2024-05-21 15:30:46 -07:00
SECURITY.md Microsoft mandatory file (#955) 2022-05-19 19:26:32 -04:00
azure-pipelines.yml Update to WinAppSDK 1.5 and .NET8; PublishSingleFile for unpackaged configs; fix compile warnings (#1483) 2024-03-12 10:40:00 -07:00
nuget.config Fixes for WinUI submodule compatibility (#1362) 2023-09-24 07:55:17 -04:00
standalone.props Update to WASDK 1.5.4 (#1568) 2024-06-19 14:07:48 -07:00

README.md

WinUI 3 Gallery

Build Status PRs Welcome GitHub license

WinUI Screenshot

Accompanying Sample App for WinAppSDK

This app demonstrates all of the WinUI 3 controls and styles available to make a modern Windows app with the Windows App SDK. It is the interactive companion to the Fluent Design Guidelines and shows the usage of the WinUI APIs.

Features:

  • WinUI Controls Samples: Each control page shows the markup and codebehind used to create each example.
  • Use the Microsoft.UI.Xaml (WinUI) Library: The app includes the latest WinUI NuGet package and shows how to use the WinUI controls like NavigationView, SwipeControl, and more.
  • Basic Layout: This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
  • Adaptive UI: In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
  • Design & Accessibility Guidance: Design and accessibility pages help make the gallery a useful developer companion app.
  • Version Adaptive Code: This sample shows how to write version adaptive code so that the app can run on previous versions of Windows while also using the latest capabilities on the most recent verison of Windows.

Any samples or docs improvements you'd like to see? We're always looking for a helping hand. Feel free to file an issue to start the discussion, or even better, create a PR with the change you'd like to see!

Check out these help wanted issues if you don't know where to start.

You can also learn more about current happenings with WinUI Gallery in the project board.

🚀 Getting Started

Quick start guide to building WinUI 3 Gallery locally:

1. Set up the Environment

Note: The WinUI 3 Gallery requires Visual Studio 2022 or later to build and Windows 10 or later to execute. If you're building an app with the Windows App SDK for the first time, follow the installation instructions here.

Required Visual Studio components:

  • .NET Desktop Development.
  • Windows App SDK C# Templates
  • Windows 10 SDK (10.0.19041.0)

2. Clone the Repository

git clone https://github.com/microsoft/WinUI-Gallery.git

3. Open .sln with Visual Studio and Build!

.\WinUIGallery\WinUIGallery.DesktopWap.sln

Make sure to select WinUIGallery.DesktopWap.Package for startup project in Visual Studio.

➡️ Further information

To obtain information about Windows 11 development, go to the Windows Dev Center
To contact the authors, please reach out to ControlsGallery@microsoft.com

Get started with building WinUI apps
WinUI
Template Studio for WinUI

RSS reader sample
Lunch Scheduler app sample
Customers Orders Database sample

🏆 Contributors

Thanks to our amazing contributors!

WinUI 3 Gallery Contributors

Made with contrib.rocks.