ShuttleUI 0.4.0

dotnet add package ShuttleUI --version 0.4.0
                    
NuGet\Install-Package ShuttleUI -Version 0.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ShuttleUI" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShuttleUI" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="ShuttleUI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ShuttleUI --version 0.4.0
                    
#r "nuget: ShuttleUI, 0.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ShuttleUI@0.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ShuttleUI&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=ShuttleUI&version=0.4.0
                    
Install as a Cake Tool

ShuttleUI

Shuttle UI is a library designed to accelerate the development process of WinUI 3 applications. It offers advanced UI controls and addresses limitations present in some XAML elements provided by WinUI. Additionally, it includes enhancements for the WinUI template provided by TemplateStudio.

Components

  1. Behaviors
    • LayoutBehavior: This behavior allows for runtime adjustment of page layout spacing. It addresses the fixed margin issue in the NavigationView frame by providing control over spacing to individual pages. It also allows selecting any element as the root control for spacing and provides flexibility in choosing whether the space should be treated as margin or padding.
  2. Controls
    • MediaBackgroundPanel: This control functions like a Grid and facilitates adding dynamic backgrounds behind its content. It automatically detects whether the media source is an image or a video and loads it at runtime.
    • SettingsCard: This control implements a card layout similar to the one found in Windows 11 UI.
  3. Helpers
    • StringExtensions: Includes the TryToEnum<T> method, which extracts the enum value of a given string.
    • StyleExtensions: Overcomes the limitation of nested styles in XAML styles.

How to Use

Shuttle UI is developed using the latest WindowsAppSDK (1.5.240404000) and DotNet 8.0. While it is optimized for use with the TemplateStudio template, this is not a strict requirement.

See the Documentation

License

Shuttle UI is released under the MIT License. For more details, see the LICENSE.md file included in the package.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.0 250 5/11/2024 0.4.0 is deprecated because it is no longer maintained.
0.3.9 172 4/25/2024
0.3.8 156 4/25/2024
0.3.7 161 4/25/2024

Updated package details and the documentation
Fixed MadiaBackgroundPanel Background Source binding error
Added Form styles
Various performance optimizations