WPF-UI.Violeta
3.0.5.2
See the version list below for details.
dotnet add package WPF-UI.Violeta --version 3.0.5.2
NuGet\Install-Package WPF-UI.Violeta -Version 3.0.5.2
<PackageReference Include="WPF-UI.Violeta" Version="3.0.5.2" />
paket add WPF-UI.Violeta --version 3.0.5.2
#r "nuget: WPF-UI.Violeta, 3.0.5.2"
// Install WPF-UI.Violeta as a Cake Addin #addin nuget:?package=WPF-UI.Violeta&version=3.0.5.2 // Install WPF-UI.Violeta as a Cake Tool #tool nuget:?package=WPF-UI.Violeta&version=3.0.5.2
WPF UI Violeta
WPF UI Violeta is based on WPF UI, and provides the Fluent experience in your known and loved WPF framework. Some new immersive controls like Toast
, Flyout
, ContentDialog
, MessageBox
and etc.
Some idea or codes are ported from ModernWpf and Fischless.
When I decided to create this project I was listening to the song Violeta
.
π Getting started
Similar to WPF UI.
<Application
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:vio="http://schemas.lepo.co/wpfui/2022/xaml/violeta">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ui:ThemesDictionary Theme="Dark" />
<ui:ControlsDictionary />
<vio:ControlsDictionary />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
πExamples
Toast
Toast
is an independent popup notification that automatically disappears after a specified time.Toast.Information("I am information message"); Toast.Error("I am error message"); Toast.Success("I am success message"); Toast.Warning("I am warning message"); Toast.Show(owner: null!, "I am any message", new ToastConfig());
Flyout
The
FlyoutService
enables you to attachFlyout
menus or tooltips to various controls such asButton
, providing a flexible and intuitive way to display additional content or options.<ui:Button Content="Show Flyout"> <ui:FlyoutService.Flyout> <ui:Flyout Placement="Bottom"> <StackPanel> <TextBlock HorizontalAlignment="Left" Text="Show the flyout message here" /> <Button Command="{Binding GotItCommand}" Content="Got it" /> </StackPanel> </ui:Flyout> </ui:FlyoutService.Flyout> </ui:Button>
ContentDialog
The
ContentDialogHostService
simplifies the creation and management ofContentDialog
instances in your application.ContentDialog dialog = new() { Title = "My sample dialog", Content = "Content of the dialog", CloseButtonText = "Close button", PrimaryButtonText = "Primary button", SecondaryButtonText = "Secondary button" }; // Setting the dialog container dialog.DialogHost = ContentDialogHostService.ContentPresenterForDialogs; // Showing the dialog await dialog.ShowAsync(CancellationToken.None);
MessageBox
To utilize Win32's classic
MessageBox
methods while supporting modern UI themes like Mica and dark mode.using MessageBox = Wpf.Ui.Violeta.Controls.MessageBox; // Sync methods _ = MessageBox.Information("This is a information message"); _ = MessageBox.Warning("This is a warning message"); _ = MessageBox.Error("This is a error message"); MessageBoxResult result = MessageBox.Question("This is a question and do you want to click OK?"); // Async methods _ = await MessageBox.InformationAsync("This is a information message"); _ = await MessageBox.WarningAsync("This is a warning message"); _ = await MessageBox.ErrorAsync("This is a error message"); MessageBoxResult result = await MessageBox.QuestionAsync("This is a question and do you want to click OK?");
π· Screenshots
Under construction
Thanks
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 is compatible. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on WPF-UI.Violeta:
Repository | Stars |
---|---|
babalae/better-genshin-impact
📦BetterGI · ζ΄ε₯½ηεη₯ - θͺε¨ζΎε | θͺε¨ε§ζ
| ε
¨θͺε¨ιι±Ό(AI) | ε
¨θͺε¨δΈε£ε¬ε€ | θͺε¨δΌζ¨ | θͺε¨ε·ζ¬ | θͺε¨ιι - UI Automation Testing Tools For Genshin Impact
|
Version | Downloads | Last updated |
---|---|---|
3.0.5.26 | 89 | 11/20/2024 |
3.0.5.25 | 71 | 11/19/2024 |
3.0.5.24 | 81 | 11/19/2024 |
3.0.5.23 | 351 | 10/27/2024 |
3.0.5.22 | 98 | 10/27/2024 |
3.0.5.21 | 97 | 10/27/2024 |
3.0.5.20 | 150 | 10/16/2024 |
3.0.5.19 | 92 | 10/13/2024 |
3.0.5.18 | 220 | 10/9/2024 |
3.0.5.17 | 87 | 10/7/2024 |
3.0.5.16 | 183 | 9/30/2024 |
3.0.5.15 | 141 | 9/27/2024 |
3.0.5.14 | 127 | 9/23/2024 |
3.0.5.13 | 116 | 9/19/2024 |
3.0.5.12 | 392 | 9/10/2024 |
3.0.5.11 | 98 | 9/10/2024 |
3.0.5.10 | 141 | 9/10/2024 |
3.0.5.9 | 91 | 9/8/2024 |
3.0.5.8 | 82 | 9/8/2024 |
3.0.5.7 | 131 | 9/3/2024 |
3.0.5.6 | 119 | 8/26/2024 |
3.0.5.5 | 128 | 8/23/2024 |
3.0.5.4 | 131 | 8/22/2024 |
3.0.5.3 | 306 | 8/20/2024 |
3.0.5.2 | 187 | 8/15/2024 |
3.0.5.1 | 114 | 8/15/2024 |
3.0.5 | 116 | 8/13/2024 |