In Avalonia, how do I calculate the size of a text without rendering it?
I’m using Avalonia 11.1 and I’d like to know the size of my TextBlock
‘s content before actually rendering it, so that I can align components properly in one go.
FluentAvaloniaUI NavigationItem Icon
I’m developing a software in C# using Avalonia (It’s the first time I’ve used it and I still have some difficulty).
FluentAvaloniaUI NavigationItem Icon
I’m developing a software in C# using Avalonia (It’s the first time I’ve used it and I still have some difficulty).
TabControl in avalonia not working as expected
Following is the MainWindowViewModel.cs code :
How to change a slider thumb in Avalonia Simple theme from C#?
I would like to change the style of my Avalonia Simple theme slider thumb. If I use the Fluent theme, and add
a Style, I can make it wider. Here’s how it looks in Fluent theme before adding the style:
How to display a (Login) dialog before MainWindow in Avalonia?
I want my program first opens a LoginWindow (as a dialog) for login.After successful login, open the MainWindow, which displays different menus based on the login account permissions.
How to display a (Login) dialog before MainWindow in Avalonia?
I want my program first opens a LoginWindow (as a dialog) for login.After successful login, open the MainWindow, which displays different menus based on the login account permissions.
Avalonia Behaviors update selection for ListBox
I’m trying to implement a ViewBox displaying a title from the selected ListBox member in the ViewBox. I’m trying to use behaviors, but it doesn’t work within ListBox.ItemTemplate/DataTemplate, only In ListBox, which only responds to being clicked anywhere but the members.
How to customize the options of AvaloniaUI app on the finder in MacOS?
I don’t understand how to modify the options like this picture below.
How to highlight some dates in CalendarDatePicker on Avalonia?
I need to highlight some dates in the CalendarDatePicker on Avalonia. This is what I’m doing now, but the Background color of the selected dates only changes when I hover over that date.
What am I doing wrong?