Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mntone/angelumbrella
Mntone WinUI 3 Library
https://github.com/mntone/angelumbrella
controls cpp cpp-lib cpp-library csharp csharp-library settings-ui ui ui-control ui-controls windows windows-runtime windows-runtime-component windows-ui windows10 windows11 winrt winui winui3 xaml
Last synced: about 3 hours ago
JSON representation
Mntone WinUI 3 Library
- Host: GitHub
- URL: https://github.com/mntone/angelumbrella
- Owner: mntone
- License: gpl-3.0
- Created: 2023-01-10T15:16:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T08:34:39.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T11:37:43.032Z (29 days ago)
- Topics: controls, cpp, cpp-lib, cpp-library, csharp, csharp-library, settings-ui, ui, ui-control, ui-controls, windows, windows-runtime, windows-runtime-component, windows-ui, windows10, windows11, winrt, winui, winui3, xaml
- Language: C++
- Homepage:
- Size: 246 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Angel Umbrella - Mntone WinUI 3 Library
"Angel Umbrella" is small WinUI 3 Library for C++/WinRT.
https://user-images.githubusercontent.com/901816/211709015-77fee141-17b7-45e6-a96a-4a98e6a9d14b.mp4
## Classes
- *Mntone.AngelUmbrella.Composition.SystemBackdrops*
- **DesktopAcrylicHelper** (C++) / **DesktopAcrylicControllerExtensions** (C#) - Provide to set acrylic colors (Choose assets from `Theme` and `Kind`).
- *Mntone.AngelUmbrella.Converters*
- **BooleanToVisibilityConverter** - Convert from *bool* to *Microsoft.UI.Xaml.Visibility* (TwoWay).
- **DateTimeToStringConverter** - Convert from *DateTime* (C++) / *DateTimeOffset* (C#) to *hstring* (OneWay).
- **InvertedBooleanConverterTest** - Convert from *bool* to inverted *bool* (TwoWay).
- **StringIsPresentToVisibilityConverter** - Convert from *hstring* to *Microsoft.UI.Xaml.Visibility* (OneWay only).
- *Mntone.AngelUmbrella.Controls*
- **OddEvenStyleSelector** - Provide to choose the odd/even style.
- **SettingsCard** - Provide basic settings card.
- **SettingsExpander** - Provide settings card with expander.
- **SettingsPanel** - Provide settings layout in items control, such as `ListView` or `GridView`, with the style `CardListViewItemStyle`.
- **SizeSpecifiedWrapPanelPage** - Provide flow layout panel with item size.
- **WrapPanel** - Provide flow layout panel.
- *Mntone.AngelUmbrella.Navigation*
- **NavigationProperties** - Provide xaml-friendly navigation data.
- *Mntone.AngelUmbrella.Triggers*
- **ControlSizeTrigger** - Provide control size based trigger.
- **ControlWidthTrigger** - Provide control width based trigger. This is triggered by width only.## Requirements
Angel Umbrella have the following system requirements:
- Windows App SDK Version 1.2 or later
## Usages
1. Install the package from the NuGet:
https://www.nuget.org/packages/Mntone.AngelUmbrella
2. Set `Generic.xaml` as your Application resources in App.xaml:
```xml
```
3. *(C++/WinRT)* Include `winrt/Mntone.AngelUmbrella.UI.Controls.h` in App.xaml.h or pch.h.
```c
// Sample code for pch.h
#pragma once#include
#include
// Other header files of C++ STL#define WIN32_LEAN_AND_MEAN
#define WINRT_LEAN_AND_MEAN
#define NOMINMAX
#include#include
#include
#include
#include#include
#include
#include
// Other header files in namespace Windows#include
#include
// Other header files in namespace Microsoft#include // <- HERE!
```## Development
It runs on Windows 10 version 1809 or later.
You'll need the following software:
- Visual Studio 2022 Version 17.4 or later (no test in earlier version)
- Desktop development with C++
- .NET SDK (Use the build for DesktopBridge app; this option includes .NET 6 & 7 Runtime)
- Windows 10 SDK, version 1809 (10.0.17763.0)
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/1. Clone the repository:
```sh
git clone https://github.com/mntone/AngelUmbrella.git
```
2. Open the `AngelUmbrella.sln` file.## Authors
- mntone - Initial work.
## License
Angel Umbrella is licensed under the GPLv3 license - see the [LICENSE.txt](https://github.com/mntone/AngelUmbrella/blob/master/LICENSE.txt) file for details.