ShuttleUI 0.3.9

dotnet add package ShuttleUI --version 0.3.9
NuGet\Install-Package ShuttleUI -Version 0.3.9
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.3.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShuttleUI --version 0.3.9
#r "nuget: ShuttleUI, 0.3.9"
#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.
// Install ShuttleUI as a Cake Addin
#addin nuget:?package=ShuttleUI&version=0.3.9

// Install ShuttleUI as a Cake Tool
#tool nuget:?package=ShuttleUI&version=0.3.9

ShuttleUI

Current Stage: Work in Progress (WIP)/Pre-release

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.

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. 
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.3.9 82 4/25/2024
0.3.8 69 4/25/2024
0.3.7 79 4/25/2024