Need help with Citrus.Avalonia?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

worldbeater
153 Stars 12 Forks MIT License 39 Commits 4 Opened issues

Description

Modern styles for Avalonia controls.

Services available

!
?

Need anything else?

Contributors list

# 27,002
c-sharp
Xamarin
avaloni...
avaloni...
37 commits
# 61,825
avaloni...
avaloni...
c-sharp
.NET
1 commit

Build Status netstandard nuget downloads License Size

Citrus

Avalonia experimental theme.

Getting Started

The easiest way to get started is to install the library as a NuGet package:

Install-Package Citrus.Avalonia
# Or 'dotnet add package Citrus.Avalonia'

Then, reference the preffered theme from your

App.xaml
file:
  
    
    

<!-- To use other themes:
     1. Comment out *all* of the <StyleInclude /> lines.
     2. Uncomment *one* of the <StyleInclude /> lines below. -->
<!-- <StyleInclude Source="avares://Citrus.Avalonia/Sea.xaml"/> -->
<!-- <StyleInclude Source="avares://Citrus.Avalonia/Rust.xaml"/> -->
<!-- <StyleInclude Source="avares://Citrus.Avalonia/Candy.xaml"/> -->
<!-- <StyleInclude Source="avares://Citrus.Avalonia/Magma.xaml"/> -->

</application.styles>

Done! Now the templates of all default controls are updated. See the sandbox project for more examples. See

StyleManager.cs
to learn how to change color scheme at runtime.

Getting Started without NuGet

Another way to get started is to add this repo as a submodule to your existing git repository:

mkdir ./external
git submodule add [email protected]:worldbeater/Citrus.Avalonia.git ./external/citrus
# Reference the ../external/citrus/src/Citrus.Avalonia/Citrus.Avalonia.csproj project then.
# The ../external/citrus/src/Citrus.Avalonia.Sandbox/Citrus.Avalonia.Sandbox.csproj is 
# the sandbox where you can browse the markup samples.

Technologies and Tools Used

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.